Pagini recente » Borderou de evaluare (job #202524) | Borderou de evaluare (job #2955760) | Borderou de evaluare (job #2504995) | Borderou de evaluare (job #1375859) | Borderou de evaluare (job #1260007)
Borderou de evaluare (job #1260007)
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 | 256kb | OK | 5 |
2 | 0ms | 264kb | OK | 5 |
3 | 0ms | 260kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 256kb | OK | 5 |
6 | 0ms | 264kb | OK | 5 |
7 | 0ms | 272kb | OK | 5 |
8 | 0ms | 276kb | OK | 5 |
9 | 0ms | 284kb | OK | 5 |
10 | 0ms | 296kb | OK | 5 |
11 | 4ms | 320kb | OK | 5 |
12 | 4ms | 352kb | OK | 5 |
13 | 8ms | 380kb | OK | 5 |
14 | 12ms | 440kb | OK | 5 |
15 | 16ms | 488kb | OK | 5 |
16 | 20ms | 524kb | OK | 5 |
17 | 28ms | 552kb | OK | 5 |
18 | 24ms | 588kb | OK | 5 |
19 | Depăşit | 364kb | Time limit exceeded. | 0 |
20 | 64ms | 596kb | OK | 5 |
Punctaj total | 95 |