Pagini recente » Borderou de evaluare (job #2418163) | Borderou de evaluare (job #677651) | Borderou de evaluare (job #1265221) | Borderou de evaluare (job #2573694) | Borderou de evaluare (job #1040199)
Borderou de evaluare (job #1040199)
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 | 464kb | Corect! | 10 | 10 |
2 | 4ms | 636kb | Corect! | 10 | 10 |
3 | 4ms | 464kb | Corect! | 10 | 10 |
4 | 4ms | 496kb | Corect! | 10 | 10 |
5 | 4ms | 504kb | Corect! | 10 | 10 |
6 | 4ms | 544kb | Corect! | 10 | 10 |
7 | 4ms | 596kb | Corect! | 10 | 10 |
8 | 128ms | 8680kb | Corect! | 10 | 0 |
9 | Depăşit | 3344kb | Time limit exceeded. | 0 |
10 | 124ms | 8648kb | Corect! | 10 |
Punctaj total | 70 |