Borderou de evaluare (job #771131)

Utilizator avatar Eric_Radavoi Radavoi Eric Andrei Eric_Radavoi IP ascuns
Problemă Arme (clasa a 7-a) Compilator c-32
Rundă Tema 34 Clasa a 5-a Status evaluat
Dată 31 mar. 2024 08:53:23 Scor 24

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] 24 | for (ci = 1; ci<=n,ci<=m; ci++) | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf (fin, "%d%d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf (fin, "%d", &nr[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf (fin, "%d", &mr[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:44:32: warning: 'pozmi' may be used uninitialized [-Wmaybe-uninitialized] 44 | s = s + mr[pozma] - nr[pozmi]; | ~~^~~~~~~ main.c:9:48: note: 'pozmi' was declared here 9 | int n, m, i, ci, s = 0, maxi, mini, pozma, pozmi; | ^~~~~ main.c:46:20: warning: 'pozma' may be used uninitialized [-Wmaybe-uninitialized] 46 | mr[pozma] = -11111; | ~~~~~~~~~~^~~~~~~~ main.c:9:41: note: 'pozma' was declared here 9 | int n, m, i, ci, s = 0, maxi, mini, pozma, pozmi; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 4
3 1 ms 241 kb Incorect 0
4 1 ms 245 kb OK 4
5 1 ms 241 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 241 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
11 1 ms 245 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 266 kb OK 4
15 9 ms 245 kb Incorect 0
16 1 ms 249 kb OK 4
17 1 ms 249 kb Incorect 0
18 1 ms 249 kb Incorect 0
19 1 ms 270 kb OK 4
20 1 ms 245 kb OK 4
21 9 ms 245 kb Incorect 0
22 9 ms 241 kb Incorect 0
23 9 ms 241 kb Incorect 0
24 1 ms 270 kb Incorect 0
25 9 ms 245 kb Incorect 0
Punctaj total 24