Borderou de evaluare (job #605665)

Utilizator avatar Zluca.jmecher Zamfir Luca Cristian Zluca.jmecher IP ascuns
Problemă Cabina (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 sept. 2021 19:36:29 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:43: warning: unused variable 'dir' [-Wunused-variable] 11 | int npers = 0, n, alt1, alt, pers, i, dir = 0, special = 0, alt2, comb = 0; | ^~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d%d", &alt1, &pers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d%d", &alt2, &pers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf(fin, "%d%d", &alt, &pers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 1 ms 131 kb OK 10
8 1 ms 131 kb OK 10
9 1 ms 131 kb OK 10
10 1 ms 131 kb OK 10
Punctaj total 100