Borderou de evaluare (job #744064)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Cabina (clasa a 5-a) Compilator c-32
Rundă Tema 14 clasa a 5-a Status evaluat
Dată 11 nov. 2023 17:02:48 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin, "%d%d", &statii, &altitudine); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d", &persoane, &altitudine); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:16: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 22 | if (a == 1) | ^ main.c:5:97: note: 'a' was declared here 5 | int special = 0, statii, combustibil = 0, persoane, i = 0, altitudine, nr = 0, caltitudine, a,b; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 2 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 1 ms 249 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 2 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0