Pagini recente »
Borderou de evaluare (job #785884)
Borderou de evaluare (job #785884)
Raport evaluator
Compilare:
main.cpp: In function 'void processQuerys()':
main.cpp:47:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | fscanf(fin, "%d", &type);
| ~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:49:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | fscanf(fin, "%d", &x);
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:53:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | fscanf(fin, "%d%d", &x, &y);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void readArray()':
main.cpp:70:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
70 | fscanf(fin, "%d%d", &n, &q);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:72:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
72 | fscanf(fin, "%d", &dest[i]);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
266 kb
|
OK
|
5
|
|
3
|
19 ms
|
491 kb
|
OK
|
5
|
|
4
|
439 ms
|
1327 kb
|
OK
|
5
|
|
5
|
514 ms
|
1282 kb
|
OK
|
5
|
|
6
|
519 ms
|
1536 kb
|
OK
|
5
|
|
7
|
159 ms
|
1163 kb
|
OK
|
5
|
|
8
|
199 ms
|
880 kb
|
OK
|
5
|
|
9
|
219 ms
|
1122 kb
|
OK
|
5
|
|
10
|
239 ms
|
1114 kb
|
OK
|
5
|
|
11
|
259 ms
|
1097 kb
|
OK
|
5
|
|
12
|
309 ms
|
1089 kb
|
OK
|
5
|
|
13
|
289 ms
|
1081 kb
|
OK
|
5
|
|
14
|
309 ms
|
1089 kb
|
OK
|
5
|
|
15
|
319 ms
|
1576 kb
|
OK
|
5
|
|
16
|
349 ms
|
1331 kb
|
OK
|
5
|
|
17
|
379 ms
|
1310 kb
|
OK
|
5
|
|
18
|
379 ms
|
1544 kb
|
OK
|
5
|
|
19
|
421 ms
|
1294 kb
|
OK
|
5
|
|
20
|
439 ms
|
1531 kb
|
OK
|
5
|
|
Punctaj total
|
100
|