Borderou de evaluare (job #816673)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Lightbot (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 28 mar. 2025 10:08:07 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d%d" ,&cer,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d" ,&xa); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:20:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d" ,&x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:42:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin, "%d" ,&x); | ^~~~~~~~~~~~~~~~~~~~~ main.c:40:25: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] 40 | while(ch!='\n') | ~~^~~~~~ main.c:10:10: note: 'ch' was declared here 10 | char ch; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 2 ms 507 kb OK 4
3 19 ms 507 kb OK 2
4 19 ms 245 kb OK 4
5 19 ms 245 kb OK 4
6 1 ms 245 kb OK 2
7 1 ms 245 kb OK 4
8 1 ms 245 kb OK 4
9 148 ms 507 kb OK 2
10 149 ms 249 kb OK 4
11 179 ms 311 kb OK 4
12 9 ms 245 kb OK 2
13 9 ms 245 kb OK 4
14 9 ms 245 kb OK 4
15 39 ms 249 kb OK 2
16 49 ms 503 kb OK 4
17 49 ms 245 kb OK 4
18 49 ms 266 kb OK 2
19 49 ms 1032 kb OK 4
20 69 ms 458 kb OK 4
21 1 ms 245 kb OK 2
22 2 ms 245 kb OK 2
23 1 ms 245 kb OK 4
24 2 ms 245 kb OK 4
25 1 ms 249 kb OK 2
26 1 ms 249 kb OK 4
27 1 ms 249 kb OK 4
28 9 ms 249 kb OK 2
29 9 ms 249 kb OK 4
30 9 ms 249 kb OK 4
Punctaj total 100