Borderou de evaluare (job #783365)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Factor (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 5 aug. 2024 18:04:35 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:36:11: warning: 'cifmax' may be used uninitialized [-Wmaybe-uninitialized] 36 | if(n%10==cifmax) | ^ main.c:11:20: note: 'cifmax' was declared here 11 | int max=0,cn=n,cifmax; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 507 kb OK 10
4 1 ms 266 kb OK 10
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 507 kb Incorect 0
9 1 ms 266 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 20