Pagini recente » Borderou de evaluare (job #2656515) | Borderou de evaluare (job #444162) | Borderou de evaluare (job #2646915) | Borderou de evaluare (job #1781081) | Borderou de evaluare (job #1090966)
Borderou de evaluare (job #1090966)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:6:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zero(x) (x ^ (x - 1) & x)
^
user.cpp:18:16: note: in expansion of macro ‘zero’
ind += zero(ind);
^
user.cpp: In function ‘int query(int)’:
user.cpp:6:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define zero(x) (x ^ (x - 1) & x)
^
user.cpp:27:16: note: in expansion of macro ‘zero’
ind -= zero(ind);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 408kb | OK | 10 |
| 2 | 4ms | 416kb | OK | 10 |
| 3 | 8ms | 432kb | OK | 10 |
| 4 | 32ms | 512kb | OK | 10 |
| 5 | 72ms | 552kb | OK | 10 |
| 6 | 108ms | 664kb | OK | 10 |
| 7 | 116ms | 752kb | OK | 10 |
| 8 | 164ms | 796kb | OK | 10 |
| 9 | 164ms | 804kb | OK | 10 |
| 10 | 164ms | 804kb | OK | 10 |
| Punctaj total | 100 |