Pagini recente » Borderou de evaluare (job #2629341) | Borderou de evaluare (job #1654870) | Borderou de evaluare (job #1638388) | Borderou de evaluare (job #3254880) | Borderou de evaluare (job #1331784)
Borderou de evaluare (job #1331784)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int)’:
user.cpp:13:15: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
x += x&(x-1)^x;
^
user.cpp: In function ‘int query(int)’:
user.cpp:24:15: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
x -= x&(x-1)^x;
^
user.cpp: In function ‘int main()’:
user.cpp:57:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d", &n);
^
user.cpp:60:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 0ms | 256kb | OK | 5 |
| 3 | 0ms | 260kb | OK | 5 |
| 4 | 0ms | 264kb | OK | 5 |
| 5 | 0ms | 260kb | OK | 5 |
| 6 | 0ms | 268kb | OK | 5 |
| 7 | 0ms | 268kb | OK | 5 |
| 8 | 0ms | 276kb | OK | 5 |
| 9 | 0ms | 280kb | OK | 5 |
| 10 | 0ms | 300kb | OK | 5 |
| 11 | 4ms | 312kb | OK | 5 |
| 12 | 4ms | 352kb | OK | 5 |
| 13 | 8ms | 380kb | OK | 5 |
| 14 | 12ms | 436kb | OK | 5 |
| 15 | 16ms | 492kb | OK | 5 |
| 16 | 20ms | 524kb | OK | 5 |
| 17 | 32ms | 552kb | OK | 5 |
| 18 | 24ms | 588kb | OK | 5 |
| 19 | Depăşit | 372kb | Time limit exceeded. | 0 |
| 20 | 64ms | 596kb | OK | 5 |
| Punctaj total | 95 |