Pagini recente » Borderou de evaluare (job #2784563) | Borderou de evaluare (job #162206) | Borderou de evaluare (job #180736) | Borderou de evaluare (job #412681) | Borderou de evaluare (job #2190472)
Borderou de evaluare (job #2190472)
Raport evaluator
Compilare:
user.cpp: In function ‘void AIBADD(int, int)’:
user.cpp:2:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
user.cpp:217:32: note: in expansion of macro ‘zeros’
for (int i=pos;i<=1e9+5;i+=zeros(i)) AIB[i] += val;
^~~~~
user.cpp: In function ‘int QUERY(int)’:
user.cpp:2:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
user.cpp:223:28: note: in expansion of macro ‘zeros’
for (int i=pos;i>=1;i-=zeros(i)) ans += AIB[i];
^~~~~
user.cpp: In instantiation of ‘void _erase(Type*&, KType) [with Type = treap2; KType = Key2]’:
user.cpp:303:47: required from here
user.cpp:272:11: warning: unused variable ‘crt’ [-Wunused-variable]
Type *crt = new Type(k);
^~~
user.cpp: In instantiation of ‘void _erase(Type*&, KType) [with Type = treap; KType = Key]’:
user.cpp:314:39: required from here
user.cpp:272:11: warning: unused variable ‘crt’ [-Wunused-variable]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2092ms | 26308kb | Incorect | 0 | 0 |
2 | 1668ms | 23612kb | Incorect | 0 |
3 | 1852ms | 31456kb | Incorect | 0 |
4 | 3672ms | 36436kb | Incorect | 0 |
5 | 1636ms | 23428kb | Incorect | 0 |
6 | 1052ms | 18764kb | OK | 10 |
7 | 2304ms | 28344kb | Incorect | 0 |
8 | 2408ms | 25448kb | Incorect | 0 |
9 | 4144ms | 60896kb | OK | 10 |
10 | 1324ms | 21724kb | OK | 10 |
Punctaj total | 0 |