Pagini recente »
Borderou de evaluare (job #857776)
Borderou de evaluare (job #857776)
Raport evaluator
Compilare:
main.cpp: In function 'void read_tree()':
main.cpp:45:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | fscanf(fin, "%d %d", &n, &num_queries);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:48:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | fscanf(fin, "%d %d", &u, &v);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void read_query()':
main.cpp:95:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
95 | fscanf(fin, "%d", &query_size);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:97:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
97 | fscanf(fin, "%d", &q[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
OK
|
4
|
|
2
|
0 ms
|
292 kb
|
OK
|
4
|
|
3
|
1 ms
|
508 kb
|
OK
|
4
|
|
4
|
1 ms
|
292 kb
|
OK
|
4
|
|
5
|
1 ms
|
508 kb
|
OK
|
4
|
|
6
|
1 ms
|
292 kb
|
OK
|
4
|
|
7
|
3 ms
|
764 kb
|
OK
|
4
|
|
8
|
8 ms
|
1016 kb
|
OK
|
4
|
|
9
|
11 ms
|
1012 kb
|
OK
|
4
|
|
10
|
14 ms
|
1268 kb
|
OK
|
4
|
|
11
|
18 ms
|
1520 kb
|
OK
|
4
|
|
12
|
23 ms
|
1556 kb
|
OK
|
4
|
|
13
|
29 ms
|
1976 kb
|
OK
|
4
|
|
14
|
37 ms
|
2528 kb
|
OK
|
4
|
|
15
|
46 ms
|
2832 kb
|
OK
|
4
|
|
16
|
59 ms
|
3588 kb
|
OK
|
4
|
|
17
|
74 ms
|
4332 kb
|
OK
|
4
|
|
18
|
94 ms
|
5216 kb
|
OK
|
4
|
|
19
|
173 ms
|
8384 kb
|
OK
|
4
|
|
20
|
204 ms
|
10160 kb
|
OK
|
4
|
|
21
|
305 ms
|
12760 kb
|
OK
|
4
|
|
22
|
203 ms
|
10148 kb
|
OK
|
4
|
|
23
|
313 ms
|
11340 kb
|
OK
|
4
|
|
24
|
335 ms
|
13168 kb
|
OK
|
4
|
|
25
|
335 ms
|
11640 kb
|
OK
|
4
|
|
Punctaj total
|
100
|