Pagini recente »
Borderou de evaluare (job #323386)
|
Borderou de evaluare (job #58396)
|
Borderou de evaluare (job #342700)
|
Borderou de evaluare (job #46934)
|
Borderou de evaluare (job #772899)
Borderou de evaluare (job #772899)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:4:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ~^~~
main.cpp:16:17: note: in expansion of macro 'loop'
16 | loop
| ^~~~
main.cpp:4:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ~^~~
main.cpp:18:17: note: in expansion of macro 'loop'
18 | loop
| ^~~~
main.cpp:4:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ~^~~
main.cpp:20:17: note: in expansion of macro 'loop'
20 | loop
| ^~~~
main.cpp:21:23: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
21 | if (x <= y != y <= z)
| ~~^~~~
main.cpp:26:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
26 | (u < v && z < u || u > v && z > u) ? fprintf(fout, "DA") :
| ~~~~~~^~~~~~~~
main.cpp:9:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d", &n);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:14:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d%d%d", &x, &y, &z); j = 3;
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:3:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define g x=y,y=z,fscanf(fin, "%d", &z),j++;
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:4:39: note: in expansion of macro 'g'
4 | #define loop while(j<n&&(x<=y==y<=z)) g
| ^
main.cpp:16:17: note: in expansion of macro 'loop'
16 | loop
| ^~~~
main.cpp:3:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define g x=y,y=z,fscanf(fin, "%d", &z),j++;
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:17:32: note: in expansion of macro 'g'
17 | if(j < n) s++, g
| ^
main.cpp:3:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define g x=y,y=z,fscanf(fin, "%d", &z),j++;
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp: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
|
512 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
|
512 kb
|
OK
|
4
|
|
8
|
1 ms
|
512 kb
|
OK
|
4
|
|
9
|
1 ms
|
296 kb
|
OK
|
4
|
|
10
|
1 ms
|
512 kb
|
OK
|
4
|
|
11
|
1 ms
|
296 kb
|
OK
|
4
|
20
|
|
12
|
8 ms
|
296 kb
|
OK
|
4
|
|
13
|
14 ms
|
296 kb
|
OK
|
4
|
|
14
|
18 ms
|
296 kb
|
OK
|
4
|
|
15
|
8 ms
|
296 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
|
43 ms
|
296 kb
|
OK
|
4
|
|
20
|
37 ms
|
348 kb
|
OK
|
4
|
|
21
|
72 ms
|
296 kb
|
OK
|
4
|
20
|
|
22
|
78 ms
|
296 kb
|
OK
|
4
|
|
23
|
32 ms
|
512 kb
|
OK
|
4
|
|
24
|
89 ms
|
296 kb
|
OK
|
4
|
|
25
|
91 ms
|
512 kb
|
OK
|
4
|
|
Punctaj total
|
80
|