Pagini recente »
Borderou de evaluare (job #858201)
Borderou de evaluare (job #858201)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:11:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
11 | scanf("%d", &n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
main.cpp:14:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
14 | scanf("%d", &k);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
main.cpp:41:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
41 | printf("%d", ans);
| ~^ ~~~
| | |
| int long long int
| %lld
main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen("tower.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:9:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | freopen("tower.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
main.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", &k);
| ~~~~~^~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
292 kb
|
OK
|
5
|
|
2
|
1 ms
|
508 kb
|
OK
|
5
|
|
3
|
1 ms
|
508 kb
|
OK
|
5
|
|
4
|
1 ms
|
292 kb
|
OK
|
5
|
|
5
|
1 ms
|
292 kb
|
OK
|
5
|
|
6
|
1 ms
|
508 kb
|
OK
|
5
|
|
7
|
24 ms
|
804 kb
|
OK
|
5
|
|
8
|
45 ms
|
1276 kb
|
OK
|
5
|
|
9
|
70 ms
|
1844 kb
|
OK
|
5
|
|
10
|
115 ms
|
2612 kb
|
OK
|
5
|
|
11
|
137 ms
|
3364 kb
|
OK
|
5
|
|
12
|
depășit
|
5492 kb
|
Time limit exceeded.
|
0
|
|
13
|
depășit
|
3624 kb
|
Time limit exceeded.
|
0
|
|
14
|
depășit
|
4408 kb
|
Time limit exceeded.
|
0
|
|
15
|
depășit
|
3624 kb
|
Time limit exceeded.
|
0
|
|
16
|
depășit
|
3548 kb
|
Time limit exceeded.
|
0
|
|
17
|
depășit
|
3640 kb
|
Time limit exceeded.
|
0
|
|
18
|
depășit
|
3488 kb
|
Time limit exceeded.
|
0
|
|
19
|
depășit
|
4352 kb
|
Time limit exceeded.
|
0
|
|
20
|
depășit
|
3624 kb
|
Time limit exceeded.
|
0
|
|
Punctaj total
|
55
|