Pagini recente »
Borderou de evaluare (job #90372)
|
Borderou de evaluare (job #418298)
|
Borderou de evaluare (job #544859)
|
Borderou de evaluare (job #662230)
|
Borderou de evaluare (job #601863)
Borderou de evaluare (job #601863)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:20: warning: operation on 'n' may be undefined [-Wsequence-point]
28 | f[ ++n ] = f[ n - 1 ] + 1;
| ^~~
main.cpp:28:20: warning: operation on 'n' may be undefined [-Wsequence-point]
main.cpp:30:20: warning: operation on 'n' may be undefined [-Wsequence-point]
30 | f[ ++n ] = f[ n - 1 ];
| ^~~
main.cpp:30:20: warning: operation on 'n' may be undefined [-Wsequence-point]
main.cpp:26:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
26 | if( x % 15 != 0 )
| ^
main.cpp:23:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf( fin, "%d", &q );
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:25:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | 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
|
57 ms
|
258 kb
|
Incorect
|
0
|
6
|
48 ms
|
258 kb
|
Incorect
|
0
|
7
|
39 ms
|
262 kb
|
Incorect
|
0
|
8
|
166 ms
|
258 kb
|
Incorect
|
0
|
9
|
236 ms
|
262 kb
|
Incorect
|
0
|
10
|
223 ms
|
258 kb
|
Incorect
|
0
|
Punctaj total
|
0
|