Pagini recente »
Borderou de evaluare (job #570142)
|
Borderou de evaluare (job #615808)
|
Borderou de evaluare (job #566736)
|
Borderou de evaluare (job #425271)
|
Borderou de evaluare (job #586132)
Borderou de evaluare (job #586132)
Raport evaluator
Compilare:
main.cpp:9:11: warning: built-in function 'pow' declared as non-function [-Wbuiltin-declaration-mismatch]
9 | long long pow[ NO_POW ];
| ^~~
main.cpp: In function 'long long int ok(long long int)':
main.cpp:43:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
43 | if( pow[ sol ] == val )
| ^
main.cpp: In function 'int main()':
main.cpp:55:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
55 | fscanf( fin, "%lld", &n );
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:59:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
59 | fscanf( fin, "%lld", &x );
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void make_pow_2()':
main.cpp:28:18: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations]
28 | pow2[ poz++ ] = p2;
| ~~~^~
main.cpp:27:15: note: within this loop
27 | while( p2 < MAX ){
| ~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:28:18: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations]
28 | pow2[ poz++ ] = p2;
| ~~~^~
main.cpp:27:15: note: within this loop
27 | while( p2 < MAX ){
| ~~~^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
OK
|
10
|
2
|
2 ms
|
262 kb
|
OK
|
10
|
3
|
1 ms
|
262 kb
|
OK
|
10
|
4
|
1 ms
|
262 kb
|
OK
|
10
|
5
|
67 ms
|
655 kb
|
Incorect
|
0
|
6
|
68 ms
|
520 kb
|
Incorect
|
0
|
7
|
48 ms
|
524 kb
|
Incorect
|
0
|
8
|
248 ms
|
520 kb
|
Incorect
|
0
|
9
|
321 ms
|
651 kb
|
Incorect
|
0
|
10
|
321 ms
|
651 kb
|
Incorect
|
0
|
Punctaj total
|
40
|