Borderou de evaluare (job #642517)

Utilizator avatar david_d2 David Alexandru Dimulescu david_d2 IP ascuns
Problemă Optime (clasa a 6-a) Compilator c-32
Rundă Concurs 16 cursuri de performanță | IQ Academy | clasa a 6-a Status evaluat
Dată 20 mar. 2022 18:30:07 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:26:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 26 | else | ^~~~ main.c:28:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 28 | i3++; | ^~ main.c:17:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d%d", &c, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:32:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:49:5: warning: 'maxcp' may be used uninitialized in this function [-Wmaybe-uninitialized] 49 | fprintf(fout, "%d\n%d\n", maxcp+1, maxp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 176 ms 2207 kb OK 5
2 175 ms 2211 kb OK 5
3 178 ms 2342 kb OK 5
4 179 ms 2338 kb OK 5
5 172 ms 2084 kb OK 5
6 174 ms 2211 kb OK 5
7 179 ms 2211 kb OK 5
8 174 ms 2084 kb OK 5
9 172 ms 2080 kb OK 5
10 178 ms 2338 kb OK 5
11 174 ms 2215 kb OK 5
12 174 ms 2215 kb OK 5
13 180 ms 2342 kb OK 5
14 175 ms 2215 kb OK 5
15 180 ms 2478 kb OK 5
16 178 ms 2338 kb OK 5
17 175 ms 2080 kb OK 5
18 175 ms 2347 kb OK 5
19 176 ms 2347 kb OK 5
20 174 ms 2084 kb OK 5
Punctaj total 100