Borderou de evaluare (job #629899)

Utilizator avatar david_d2 David Alexandru Dimulescu david_d2 IP ascuns
Problemă Munte (clasa a 6-a) Compilator c-32
Rundă Concurs 07 cursuri de performanță | IQ Academy | clasa a 6-a Status evaluat
Dată 3 feb. 2022 19:55:49 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 12 | for(i=0; i<n; i++) | ^~~ main.c:14:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 14 | fclose(fin); | ^~~~~~ 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:13:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 114 kb OK 10
2 3 ms 110 kb OK 10
3 1 ms 110 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 114 kb OK 10
9 1 ms 114 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 100