Borderou de evaluare (job #811101)

Utilizator avatar EduardGrigoras eduard EduardGrigoras IP ascuns
Problemă Grad1 (clasa a 6-a) Compilator c-32
Rundă Tema 30 Clasa a 6-a Status evaluat
Dată 23 feb. 2025 08:03:13 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:63:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 63 | if(v[j]==x[m]) | ^~ main.c:65:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 65 | m++; | ^ main.c:29:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%d %d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:32:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:74:5: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 74 | fprintf(fout,"%d\n%d",p+1,gogumax); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:28:37: note: 'p' was declared here 28 | int n,k,maxi=0,gogu=0,gogumax=0,p,i,j; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 9 ms 249 kb OK 10
5 259 ms 507 kb OK 10
6 499 ms 249 kb OK 10
7 749 ms 503 kb OK 10
8 649 ms 499 kb OK 10
9 919 ms 507 kb OK 10
10 659 ms 507 kb OK 10
Punctaj total 100