Borderou de evaluare (job #762877)

Utilizator avatar Twinkle Petrescu Maria-Luiza Twinkle IP ascuns
Problemă Forus (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 feb. 2024 19:40:09 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:29:8: warning: assignment to 'FILE *' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 29 | fin=fclose; | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin, "%d", &C ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:13:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf( fin, "%d", &N ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf( fin, "%d", &ac ); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:11: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 15 | ac=a; | ~~^~ main.c:7:18: note: 'a' was declared here 7 | int C, N, i, a, ac, c; | ^ main.c:19:14: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 19 | c++; | ~^~ main.c:7:25: note: 'c' was declared here 7 | int C, N, i, a, ac, c; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb Pomana (pentru ca Mehedinti si Salaj sa nu para ca s-au calificat cu 10p, ci cu 30p) 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 241 kb Incorect 0
5 1 ms 249 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 2 ms 245 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 1 ms 249 kb Incorect 0
12 1 ms 249 kb Incorect 0
Punctaj total 10