Borderou de evaluare (job #678043)

Utilizator avatar paun_daniel Daniel Paun paun_daniel IP ascuns
Problemă Stalpi10 (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 nov. 2022 12:03:15 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:44:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 44 | else | ^~~~ main.c:51:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 51 | printf("%d %d %d", max, nrmax, nrzero); | ^~~~~~ main.c:6:17: warning: variable 'fout' set but not used [-Wunused-but-set-variable] 6 | FILE *fin, *fout; | ^~~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:12:23: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | for(i=0;i<n;i++) {fscanf(fin,"%d",&d); fscanf(fin,"%d",&cd); | ^~~~~~~~~~~~~~~~~~~ main.c:12:44: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | for(i=0;i<n;i++) {fscanf(fin,"%d",&d); fscanf(fin,"%d",&cd); | ^~~~~~~~~~~~~~~~~~~~ main.c:7:20: warning: 'dreapta' may be used uninitialized in this function [-Wmaybe-uninitialized] 7 | int n, stanga, dreapta, max=0, nrmax=0,nrzero=0,i,j, d,cd,sti,dri; | ^~~~~~~ main.c:7:12: warning: 'stanga' may be used uninitialized in this function [-Wmaybe-uninitialized] 7 | int n, stanga, dreapta, max=0, nrmax=0,nrzero=0,i,j, d,cd,sti,dri; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Killed by Signal 11 0
2 1 ms 245 kb Killed by Signal 11 0
3 11 ms 114 kb Killed by Signal 11 0
4 13 ms 245 kb Killed by Signal 11 0
5 253 ms 3649 kb Time limit exceeded 0
6 253 ms 5095 kb Time limit exceeded 0
7 253 ms 3653 kb Time limit exceeded 0
8 253 ms 6275 kb Time limit exceeded 0
9 253 ms 7323 kb Time limit exceeded 0
10 254 ms 4177 kb Time limit exceeded 0
Punctaj total 0