Pagini recente »
Borderou de evaluare (job #681066)
Borderou de evaluare (job #681066)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:40:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
40 | if(l % 2 == 1 && n % 2 == 1 || l % 2 == 0 && n % 2 == 0){
| ~~~~~~~~~~~^~~~~~~~~~~~~
main.c:11:33: warning: unused variable 'cc' [-Wunused-variable]
11 | int n, l, c, contor, j, cl, cc, s, nrc, i;
| ^~
main.c:11:26: warning: unused variable 'j' [-Wunused-variable]
11 | int n, l, c, contor, j, cl, cc, s, nrc, i;
| ^
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
25 ms
|
118 kb
|
OK
|
5
|
|
2
|
32 ms
|
245 kb
|
OK
|
5
|
|
3
|
32 ms
|
249 kb
|
OK
|
5
|
|
4
|
28 ms
|
249 kb
|
OK
|
5
|
|
5
|
31 ms
|
245 kb
|
OK
|
5
|
|
6
|
30 ms
|
249 kb
|
OK
|
5
|
|
7
|
22 ms
|
249 kb
|
OK
|
5
|
|
8
|
25 ms
|
372 kb
|
OK
|
5
|
|
9
|
27 ms
|
372 kb
|
OK
|
5
|
|
10
|
29 ms
|
368 kb
|
OK
|
5
|
|
11
|
628 ms
|
8298 kb
|
Memory limit exceeded
|
0
|
|
12
|
26 ms
|
610 kb
|
OK
|
5
|
|
13
|
33 ms
|
724 kb
|
OK
|
5
|
|
14
|
47 ms
|
1384 kb
|
OK
|
5
|
|
15
|
168 ms
|
4530 kb
|
OK
|
5
|
|
16
|
257 ms
|
5926 kb
|
OK
|
5
|
|
17
|
306 ms
|
7041 kb
|
OK
|
5
|
|
18
|
387 ms
|
7921 kb
|
OK
|
5
|
|
19
|
476 ms
|
8335 kb
|
Memory limit exceeded
|
0
|
|
20
|
535 ms
|
8622 kb
|
Memory limit exceeded
|
0
|
|
Punctaj total
|
85
|