Pagini recente » Borderou de evaluare (job #2423448) | Borderou de evaluare (job #2644352) | Borderou de evaluare (job #3196513) | Borderou de evaluare (job #2631333) | Borderou de evaluare (job #1331786)
Borderou de evaluare (job #1331786)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int)’:
user.cpp:12:15: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
x += x&(x-1)^x;
^
user.cpp: In function ‘int query(int)’:
user.cpp:23:15: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
x -= x&(x-1)^x;
^
user.cpp: In function ‘int main()’:
user.cpp:53: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:56: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 | 260kb | OK | 5 |
3 | 0ms | 260kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 264kb | OK | 5 |
6 | 0ms | 264kb | OK | 5 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 268kb | OK | 5 |
9 | 0ms | 288kb | OK | 5 |
10 | 0ms | 300kb | OK | 5 |
11 | 4ms | 320kb | OK | 5 |
12 | 4ms | 352kb | OK | 5 |
13 | 8ms | 376kb | OK | 5 |
14 | 12ms | 436kb | OK | 5 |
15 | 16ms | 488kb | OK | 5 |
16 | 20ms | 520kb | OK | 5 |
17 | 32ms | 552kb | OK | 5 |
18 | 24ms | 584kb | OK | 5 |
19 | Depăşit | 368kb | Time limit exceeded. | 0 |
20 | 64ms | 600kb | OK | 5 |
Punctaj total | 95 |