Borderou de evaluare (job #808472)

Utilizator avatar RaresPanu Panu Rares Teodor RaresPanu IP ascuns
Problemă Concurs3 (clasa a 5-a) Compilator c-32
Rundă Tema 23 Clasa a 5-a Status evaluat
Dată 9 feb. 2025 19:52:36 Scor 90

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", &c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:16:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d%lld", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:37:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:39:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | fscanf(fin, "%d%lld", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:31:30: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 31 | if(suma==max) cnt++; | ~~~^~ main.c:12:24: note: 'cnt' was declared here 12 | int n,a ,max=0,cnt,suma; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 199 ms 245 kb OK 5
6 49 ms 249 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 245 kb OK 5
10 189 ms 249 kb OK 5
11 129 ms 270 kb OK 5
12 109 ms 245 kb OK 5
13 59 ms 249 kb OK 5
14 1 ms 245 kb OK 5
15 49 ms 512 kb OK 5
16 1 ms 266 kb OK 5
17 19 ms 249 kb OK 5
18 9 ms 270 kb OK 5
19 89 ms 245 kb OK 5
20 1 ms 245 kb OK 5
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 90