Borderou de evaluare (job #750638)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Regele (clasa a 5-a) Compilator c-32
Rundă Tema 17 clasa a 5-a Status evaluat
Dată 13 dec. 2023 10:13:55 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:9: warning: unused variable 'c' [-Wunused-variable] 7 | int c, n, k, s=0, lipsa, i, ci, nr; | ^ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &nr); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:25:5: warning: 'ci' may be used uninitialized [-Wmaybe-uninitialized] 25 | fprintf(fout, "%d", ci+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:33: note: 'ci' was declared here 7 | int c, n, k, s=0, lipsa, i, ci, nr; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 2 ms 245 kb OK 5
3 3 ms 245 kb OK 5
4 1 ms 241 kb OK 5
5 1 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 249 kb OK 5
9 1 ms 245 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 241 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 1 ms 245 kb OK 5
18 2 ms 245 kb OK 5
19 2 ms 245 kb OK 5
20 1 ms 245 kb OK 5
Punctaj total 100