Pagini recente »
Borderou de evaluare (job #693369)
Borderou de evaluare (job #693369)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:12: warning: unused variable 'ok' [-Wunused-variable]
19 | bool ok = true;
| ^~
main.cpp:8:10: 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:10: 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:12:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d%d", &N, &H);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
110 kb
|
OK
|
5
|
2
|
1 ms
|
114 kb
|
OK
|
5
|
3
|
1 ms
|
114 kb
|
OK
|
5
|
4
|
1 ms
|
114 kb
|
OK
|
5
|
5
|
1 ms
|
114 kb
|
OK
|
5
|
6
|
1 ms
|
114 kb
|
OK
|
5
|
7
|
32 ms
|
118 kb
|
OK
|
5
|
8
|
61 ms
|
114 kb
|
OK
|
5
|
9
|
105 ms
|
114 kb
|
OK
|
5
|
10
|
166 ms
|
118 kb
|
OK
|
5
|
11
|
244 ms
|
118 kb
|
OK
|
5
|
12
|
229 ms
|
1032 kb
|
OK
|
5
|
13
|
322 ms
|
114 kb
|
OK
|
5
|
14
|
347 ms
|
1691 kb
|
OK
|
5
|
15
|
471 ms
|
249 kb
|
OK
|
5
|
16
|
560 ms
|
245 kb
|
OK
|
5
|
17
|
609 ms
|
118 kb
|
Time limit exceeded
|
0
|
18
|
609 ms
|
118 kb
|
Time limit exceeded
|
0
|
19
|
600 ms
|
507 kb
|
Time limit exceeded
|
0
|
20
|
605 ms
|
1949 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
80
|