Pagini recente »
Borderou de evaluare (job #796976)
|
Borderou de evaluare (job #858163)
|
Borderou de evaluare (job #845427)
Borderou de evaluare (job #845427)
Raport evaluator
Compilare:
main.cpp: In function 'void read_input_and_build_tree()':
main.cpp:86:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
86 | fscanf(fin, "%d%d\n", &n, &q);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void process_querries()':
main.cpp:99:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
99 | fscanf(fin, "%d", &type);
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:101:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
101 | fscanf(fin, "%d", &pos);
| ~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:105:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
105 | fscanf(fin, "%d%d", &left, &right);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
OK
|
5
|
|
2
|
1 ms
|
508 kb
|
OK
|
5
|
|
3
|
1 ms
|
508 kb
|
OK
|
5
|
|
4
|
2 ms
|
504 kb
|
OK
|
5
|
|
5
|
6 ms
|
792 kb
|
OK
|
5
|
|
6
|
12 ms
|
1504 kb
|
OK
|
5
|
|
7
|
13 ms
|
1284 kb
|
OK
|
5
|
|
8
|
15 ms
|
1580 kb
|
OK
|
5
|
|
9
|
17 ms
|
1488 kb
|
OK
|
5
|
|
10
|
21 ms
|
2288 kb
|
OK
|
5
|
|
11
|
24 ms
|
2280 kb
|
OK
|
5
|
|
12
|
27 ms
|
2488 kb
|
OK
|
5
|
|
13
|
31 ms
|
2260 kb
|
OK
|
5
|
|
14
|
35 ms
|
2248 kb
|
OK
|
5
|
|
15
|
45 ms
|
4492 kb
|
OK
|
5
|
|
16
|
57 ms
|
4464 kb
|
OK
|
5
|
|
17
|
72 ms
|
4692 kb
|
OK
|
5
|
|
18
|
95 ms
|
8548 kb
|
OK
|
5
|
|
19
|
119 ms
|
8504 kb
|
OK
|
5
|
|
20
|
151 ms
|
8444 kb
|
OK
|
5
|
|
Punctaj total
|
100
|