Pagini recente » Borderou de evaluare (job #1977177) | Borderou de evaluare (job #1957876) | Borderou de evaluare (job #2220182) | Borderou de evaluare (job #2864901) | Borderou de evaluare (job #2189488)
Borderou de evaluare (job #2189488)
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 | 2124ms | 26308kb | Incorect | 0 | 0 |
2 | 1672ms | 23608kb | Incorect | 0 |
3 | 1920ms | 31452kb | Incorect | 0 |
4 | 3652ms | 36436kb | Incorect | 0 |
5 | 1628ms | 23424kb | Incorect | 0 |
6 | 1100ms | 18764kb | OK | 10 |
7 | 2316ms | 28344kb | Incorect | 0 |
8 | 2408ms | 25448kb | Incorect | 0 |
9 | 4116ms | 60900kb | OK | 10 |
10 | 1312ms | 21716kb | OK | 10 |
Punctaj total | 0 |