Pagini recente »
Borderou de evaluare (job #598464)
|
Borderou de evaluare (job #48762)
|
Borderou de evaluare (job #402953)
|
Borderou de evaluare (job #379464)
|
Borderou de evaluare (job #805425)
Borderou de evaluare (job #805425)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:34: warning: unused variable 'p' [-Wunused-variable]
13 | int n, cer, mx, k, i, z, ok, p;
| ^
main.c:13:27: warning: unused variable 'z' [-Wunused-variable]
13 | int n, cer, mx, k, i, z, ok, p;
| ^
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d%d", &cer, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%d", &a[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:17: warning: 'mx' may be used uninitialized [-Wmaybe-uninitialized]
13 | int n, cer, mx, k, i, z, ok, p;
| ^~
main.c:27:45: warning: 'ok' may be used uninitialized [-Wmaybe-uninitialized]
27 | if((a[i-1]==0 && a[i-2]==0) || ok==1)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:13:30: note: 'ok' was declared here
13 | int n, cer, mx, k, i, z, ok, p;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
incorect
|
0
|
2
|
1 ms
|
245 kb
|
incorect
|
0
|
3
|
2 ms
|
245 kb
|
incorect
|
0
|
4
|
2 ms
|
249 kb
|
incorect
|
0
|
5
|
1 ms
|
249 kb
|
incorect
|
0
|
6
|
1 ms
|
245 kb
|
incorect
|
0
|
7
|
39 ms
|
503 kb
|
incorect
|
0
|
8
|
1 ms
|
249 kb
|
incorect
|
0
|
9
|
39 ms
|
507 kb
|
incorect
|
0
|
10
|
39 ms
|
507 kb
|
incorect
|
0
|
11
|
1 ms
|
249 kb
|
incorect
|
0
|
12
|
1 ms
|
270 kb
|
incorect
|
0
|
13
|
2 ms
|
249 kb
|
incorect
|
0
|
14
|
1 ms
|
249 kb
|
incorect
|
0
|
15
|
1 ms
|
249 kb
|
incorect
|
0
|
16
|
2 ms
|
249 kb
|
incorect
|
0
|
17
|
1 ms
|
249 kb
|
incorect
|
0
|
18
|
1 ms
|
249 kb
|
incorect
|
0
|
19
|
1 ms
|
249 kb
|
incorect
|
0
|
20
|
1 ms
|
249 kb
|
incorect
|
0
|
21
|
1 ms
|
249 kb
|
incorect
|
0
|
22
|
1 ms
|
249 kb
|
incorect
|
0
|
23
|
1 ms
|
249 kb
|
incorect
|
0
|
24
|
1 ms
|
249 kb
|
incorect
|
0
|
25
|
1 ms
|
512 kb
|
incorect
|
0
|
26
|
1 ms
|
249 kb
|
incorect
|
0
|
27
|
2 ms
|
249 kb
|
incorect
|
0
|
28
|
1 ms
|
249 kb
|
incorect
|
0
|
29
|
2 ms
|
249 kb
|
incorect
|
0
|
30
|
1 ms
|
249 kb
|
incorect
|
0
|
Punctaj total
|
0
|