Pagini recente » Borderou de evaluare (job #610309) | Borderou de evaluare (job #2024955) | Borderou de evaluare (job #2897985) | Borderou de evaluare (job #655772) | Borderou de evaluare (job #1040193)
Borderou de evaluare (job #1040193)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:5:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
user.cpp:12:25: note: in expansion of macro ‘zeros’
for(int i=poz; i<=n; i+=zeros(i)){
^
user.cpp: In function ‘int query(int)’:
user.cpp:5:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zeros(x) x&(x-1)^x
^
user.cpp:20:24: note: in expansion of macro ‘zeros’
for(int i=poz; i>0; i-=zeros(i)){
^
user.cpp: In function ‘int main()’:
user.cpp:60:17: warning: ‘pmx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sir(pmx, mx);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 460kb | Corect! | 10 | 10 |
2 | 4ms | 640kb | Corect! | 10 | 10 |
3 | 4ms | 456kb | Lungime incorecta! | 0 | 0 |
4 | 4ms | 496kb | Lungime incorecta! | 0 | 0 |
5 | 4ms | 500kb | Lungime incorecta! | 0 | 0 |
6 | 4ms | 544kb | Lungime incorecta! | 0 | 0 |
7 | 4ms | 592kb | Lungime incorecta! | 0 | 0 |
8 | 124ms | 8672kb | Lungime incorecta! | 0 | 0 |
9 | Depăşit | 3336kb | Time limit exceeded. | 0 |
10 | 124ms | 8572kb | Lungime incorecta! | 0 |
Punctaj total | 20 |