Borderou de evaluare (job #2622458)
Raport evaluator
Compilare:
main.cpp: In function 'long long int query(long long int)':
main.cpp:29:15: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
k-=k^(k-1)&k;
~~~~~^~
main.cpp: In function 'long long int update(long long int, long long int)':
main.cpp:34:27: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
for(ll i=x;i<=n;i+=i^(i-1)&i){
~~~~~^~
main.cpp:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 262kb | Corect! | 10 | 10 |
2 | 5ms | 262kb | Corect! | 10 | 10 |
3 | 3ms | 262kb | Lungime incorecta! | 0 | 0 |
4 | 3ms | 262kb | Lungime incorecta! | 0 | 0 |
5 | 3ms | 262kb | Lungime incorecta! | 0 | 0 |
6 | 4ms | 262kb | Lungime incorecta! | 0 | 0 |
7 | 4ms | 262kb | Lungime incorecta! | 0 | 0 |
8 | 113ms | 5111kb | Lungime incorecta! | 0 | 0 |
9 | 70ms | 4980kb | Corect! | 10 |
10 | 112ms | 4980kb | Lungime incorecta! | 0 |
Punctaj total | 20 |