Pagini recente » Borderou de evaluare (job #1816925) | Borderou de evaluare (job #2705625) | Borderou de evaluare (job #2510878) | Borderou de evaluare (job #1604395) | Borderou de evaluare (job #2257389)
Borderou de evaluare (job #2257389)
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:109: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:110: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:113: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:115:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vv[i]);
^
user.cpp:118: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:137: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 | 40ms | 4812kb | OK | 5 | 10 |
| 2 | 4ms | 4816kb | OK | 5 |
| 3 | 12ms | 4880kb | OK | 5 | 10 |
| 4 | 20ms | 4952kb | OK | 5 |
| 5 | 172ms | 7432kb | OK | 5 | 20 |
| 6 | 132ms | 6308kb | OK | 5 |
| 7 | 180ms | 7216kb | OK | 5 |
| 8 | 136ms | 6304kb | OK | 5 |
| 9 | 280ms | 10072kb | OK | 5 | 20 |
| 10 | 192ms | 7748kb | OK | 5 |
| 11 | 296ms | 9720kb | OK | 5 |
| 12 | 196ms | 7748kb | OK | 5 |
| 13 | 364ms | 11180kb | OK | 5 | 20 |
| 14 | 288ms | 8748kb | OK | 5 |
| 15 | 360ms | 11452kb | OK | 5 |
| 16 | 284ms | 8748kb | OK | 5 |
| 17 | 408ms | 13076kb | OK | 5 | 20 |
| 18 | 316ms | 9736kb | OK | 5 |
| 19 | 412ms | 12940kb | OK | 5 |
| 20 | 324ms | 9736kb | OK | 5 |
| Punctaj total | 100 |