Borderou de evaluare (job #798764)

Utilizator avatar rayanb Rayan Beharvandi rayanb IP ascuns
Problemă Îngerași (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a Status evaluat
Dată 3 dec. 2024 18:43:03 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:19:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 19 | if (ingeras3=min) { | ^~~~~~~~ main.c:8:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%d",&n); | ^~~~~~~~~~~~~~ main.c:10:7: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d%d%d",&ingeras1,&ingeras2,&ingeras3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'printf', inlined from 'main' at main.c:34:5: /usr/include/bits/stdio2.h:118:10: warning: 'h' may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:6:13: note: 'h' was declared here 6 | int n,i,h,ingeras1,ingeras2,ingeras3,min; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 109 ms 249 kb Time limit exceeded 0
2 109 ms 249 kb Time limit exceeded 0
3 109 ms 249 kb Time limit exceeded 0
4 109 ms 249 kb Time limit exceeded 0
5 109 ms 249 kb Time limit exceeded 0
6 109 ms 270 kb Time limit exceeded 0
7 109 ms 270 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 270 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 0