Borderou de evaluare (job #762867)

Utilizator avatar RobertSerb hacker ^_^ RobertSerb IP ascuns
Problemă Pătrate4 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 feb. 2024 19:31:39 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:16: warning: unused variable 'k' [-Wunused-variable] 6 | int n, k = 0, m, i, idk, cer, nrp; | ^ main.c:9:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &cer); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:11:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d", &m); | ^~~~~~~~~~~~~~~~~~~~~ main.c:16:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:20:17: warning: 'nrp' may be used uninitialized [-Wmaybe-uninitialized] 20 | fprintf(fout, "%d", nrp / 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:6:39: note: 'nrp' was declared here 6 | int n, k = 0, m, i, idk, cer, nrp; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 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 OK 1
3 1 ms 245 kb Incorect 0
4 2 ms 245 kb OK 1
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb OK 1
7 1 ms 245 kb Incorect 0
8 3 ms 245 kb OK 1
9 1 ms 245 kb Incorect 0
10 2 ms 503 kb OK 1
11 1 ms 245 kb Incorect 0
12 1 ms 241 kb OK 1
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb OK 1
15 1 ms 245 kb Incorect 0
16 2 ms 245 kb OK 1
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb OK 1
19 1009 ms 245 kb Time limit exceeded 0
20 1 ms 245 kb OK 1
21 1009 ms 249 kb Time limit exceeded 0
Punctaj total 20