Pagini recente »
Borderou de evaluare (job #33736)
|
Borderou de evaluare (job #755123)
|
Borderou de evaluare (job #401990)
|
Borderou de evaluare (job #772901)
Borderou de evaluare (job #772901)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:4:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ~^~~
main.c:16:17: note: in expansion of macro 'loop'
16 | loop
| ^~~~
main.c:4:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ~^~~
main.c:18:17: note: in expansion of macro 'loop'
18 | loop
| ^~~~
main.c:4:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ~^~~
main.c:20:17: note: in expansion of macro 'loop'
20 | loop
| ^~~~
main.c:21:23: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
21 | if (x <= y != y <= z)
| ~~^~~~
main.c:26:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
26 | (u < v && z < u || u > v && z > u) ? fprintf(fout, "DA") :
| ~~~~~~^~~~~~~~
main.c:9:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:14:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d%d", &x, &y, &z); j = 3;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:3:19: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define g x=y,y=z,fscanf(fin, "%d", &z),j++;
| ^~~~~~~~~~~~~~~~~~~~~
main.c:4:39: note: in expansion of macro 'g'
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ^
main.c:16:17: note: in expansion of macro 'loop'
16 | loop
| ^~~~
main.c:3:19: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define g x=y,y=z,fscanf(fin, "%d", &z),j++;
| ^~~~~~~~~~~~~~~~~~~~~
main.c:17:32: note: in expansion of macro 'g'
17 | if(j < n) s++, g
| ^
main.c:3:19: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define g x=y,y=z,fscanf(fin, "%d", &z),j++;
| ^~~~~~~~~~~~~~~~~~~~~
main.c:4:39: note: in expansion of macro 'g'
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
Punctaj/grupă |
|
1
|
1 ms
|
296 kb
|
OK
|
4
|
0
|
|
2
|
1 ms
|
296 kb
|
OK
|
4
|
|
3
|
1 ms
|
296 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
296 kb
|
OK
|
4
|
|
5
|
1 ms
|
296 kb
|
OK
|
4
|
|
6
|
1 ms
|
296 kb
|
OK
|
4
|
20
|
|
7
|
1 ms
|
296 kb
|
OK
|
4
|
|
8
|
1 ms
|
296 kb
|
OK
|
4
|
|
9
|
1 ms
|
512 kb
|
OK
|
4
|
|
10
|
1 ms
|
296 kb
|
OK
|
4
|
|
11
|
1 ms
|
296 kb
|
OK
|
4
|
20
|
|
12
|
9 ms
|
296 kb
|
OK
|
4
|
|
13
|
14 ms
|
296 kb
|
OK
|
4
|
|
14
|
18 ms
|
296 kb
|
OK
|
4
|
|
15
|
8 ms
|
512 kb
|
OK
|
4
|
|
16
|
10 ms
|
296 kb
|
OK
|
4
|
20
|
|
17
|
32 ms
|
296 kb
|
OK
|
4
|
|
18
|
36 ms
|
296 kb
|
OK
|
4
|
|
19
|
42 ms
|
512 kb
|
OK
|
4
|
|
20
|
37 ms
|
296 kb
|
OK
|
4
|
|
21
|
72 ms
|
512 kb
|
OK
|
4
|
20
|
|
22
|
78 ms
|
296 kb
|
OK
|
4
|
|
23
|
32 ms
|
296 kb
|
OK
|
4
|
|
24
|
89 ms
|
296 kb
|
OK
|
4
|
|
25
|
90 ms
|
296 kb
|
OK
|
4
|
|
Punctaj total
|
80
|