Pagini recente » Borderou de evaluare (job #2248950) | Borderou de evaluare (job #1265164) | Borderou de evaluare (job #410711) | Borderou de evaluare (job #2447400) | Borderou de evaluare (job #1259992)
Borderou de evaluare (job #1259992)
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 | 264kb | OK | 5 |
| 3 | 0ms | 260kb | OK | 5 |
| 4 | 0ms | 264kb | OK | 5 |
| 5 | 0ms | 264kb | OK | 5 |
| 6 | 0ms | 268kb | OK | 5 |
| 7 | 0ms | 268kb | OK | 5 |
| 8 | 0ms | 272kb | OK | 5 |
| 9 | 0ms | 280kb | OK | 5 |
| 10 | 0ms | 300kb | OK | 5 |
| 11 | 4ms | 312kb | OK | 5 |
| 12 | 4ms | 356kb | OK | 5 |
| 13 | 8ms | 372kb | OK | 5 |
| 14 | 12ms | 436kb | OK | 5 |
| 15 | 16ms | 492kb | OK | 5 |
| 16 | 20ms | 520kb | OK | 5 |
| 17 | 28ms | 548kb | OK | 5 |
| 18 | 24ms | 592kb | OK | 5 |
| 19 | Depăşit | 364kb | Time limit exceeded. | 0 |
| 20 | 60ms | 596kb | OK | 5 |
| Punctaj total | 95 |