Pagini recente »
Borderou de evaluare (job #346001)
|
Borderou de evaluare (job #213406)
|
Borderou de evaluare (job #324826)
|
Borderou de evaluare (job #690629)
|
Borderou de evaluare (job #601860)
Borderou de evaluare (job #601860)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:20: warning: operation on 'n' may be undefined [-Wsequence-point]
27 | f[ ++n ] = f[ n - 1 ] + 1;
| ^~~
main.cpp:27:20: warning: operation on 'n' may be undefined [-Wsequence-point]
main.cpp:29:20: warning: operation on 'n' may be undefined [-Wsequence-point]
29 | f[ ++n ] = f[ n - 1 ];
| ^~~
main.cpp:29:20: warning: operation on 'n' may be undefined [-Wsequence-point]
main.cpp:25:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
25 | if( x % 15 != 0 )
| ^
main.cpp:22:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf( fin, "%d", &q );
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:24:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf( fin, "%d", &x );
| ~~~~~~^~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
62 ms
|
262 kb
|
Incorect
|
0
|
6
|
55 ms
|
262 kb
|
Incorect
|
0
|
7
|
33 ms
|
258 kb
|
Incorect
|
0
|
8
|
164 ms
|
262 kb
|
Incorect
|
0
|
9
|
241 ms
|
258 kb
|
Incorect
|
0
|
10
|
250 ms
|
262 kb
|
Incorect
|
0
|
Punctaj total
|
0
|