Borderou de evaluare (job #726326)

Utilizator avatar ilincamanescu manescu ilinca ilincamanescu IP ascuns
Problemă Maxconcat (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 12 iul. 2023 16:29:24 Scor 0

Raport evaluator

Compilare: main.c:2:20: warning: extra tokens at end of #include directive 2 | #include <stdlib.h>, | ^ main.c: In function 'main': main.c:22:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 22 | if(m>max) | ^~ main.c:24:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 24 | printf("%d %d",nr,nr1); | ^~~~~~ main.c:9:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d %d",&n,&nr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | scanf("%d %d",&nr,&nr1); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:7:13: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized] 7 | int n,nr,m,max=-10000,cn,nr1,cn1=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 1 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 1 ms 249 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 1 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0