Pagini recente » Borderou de evaluare (job #1641775) | Borderou de evaluare (job #2062249) | Borderou de evaluare (job #220329) | Borderou de evaluare (job #1294248) | Borderou de evaluare (job #2257391)
Borderou de evaluare (job #2257391)
Raport evaluator
Compilare:
user.cpp: In constructor ‘SegTree::SegTree(int)’:
user.cpp:24:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(a, 0, sizeof(a));
^
user.cpp: In member function ‘int SegTree::q(int, int, int, int, int)’:
user.cpp:57:19: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int med = (st + dr >> 1);
~~~^~~~
user.cpp: In function ‘int main()’:
user.cpp:113:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.in", "r", stdin);
^
user.cpp:114:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.out", "w", stdout);
^
user.cpp:117:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:119:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vv[i]);
^
user.cpp:122:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:141:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &t, &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 4844kb | OK | 5 | 10 |
2 | 4ms | 4844kb | OK | 5 |
3 | 12ms | 4912kb | OK | 5 | 10 |
4 | 16ms | 4984kb | OK | 5 |
5 | 172ms | 7468kb | OK | 5 | 20 |
6 | 132ms | 6336kb | OK | 5 |
7 | 180ms | 7252kb | OK | 5 |
8 | 136ms | 6340kb | OK | 5 |
9 | 280ms | 10104kb | OK | 5 | 20 |
10 | 192ms | 7780kb | OK | 5 |
11 | 296ms | 9756kb | OK | 5 |
12 | 196ms | 7780kb | OK | 5 |
13 | 368ms | 11212kb | OK | 5 | 20 |
14 | 284ms | 8784kb | OK | 5 |
15 | 360ms | 11484kb | OK | 5 |
16 | 288ms | 8784kb | OK | 5 |
17 | 412ms | 13108kb | OK | 5 | 20 |
18 | 440ms | 9768kb | OK | 5 |
19 | 416ms | 12968kb | OK | 5 |
20 | 320ms | 9768kb | OK | 5 |
Punctaj total | 100 |