Pagini recente » Borderou de evaluare (job #1829657) | Borderou de evaluare (job #2184738) | Borderou de evaluare (job #1819695) | Borderou de evaluare (job #2222158) | Borderou de evaluare (job #1250718)
Borderou de evaluare (job #1250718)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int)’:
user.cpp:8:22: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (; x<=n; x+=x&(x-1)^x)
^
user.cpp: In function ‘int query(int)’:
user.cpp:15:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (; x; x-=x&(x-1)^x)
^
user.cpp: In function ‘int main()’:
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.in", "r", stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.out", "w", stdout);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 4ms | 264kb | Incorect | 0 |
11 | 8ms | 272kb | Incorect | 0 |
12 | Depăşit | 260kb | Time limit exceeded. | 0 |
13 | 36ms | 292kb | Incorect | 0 |
14 | Depăşit | 288kb | Time limit exceeded. | 0 |
15 | Depăşit | 312kb | Time limit exceeded. | 0 |
16 | Depăşit | 316kb | Time limit exceeded. | 0 |
17 | Depăşit | 328kb | Time limit exceeded. | 0 |
18 | Depăşit | 340kb | Time limit exceeded. | 0 |
19 | Depăşit | 344kb | Time limit exceeded. | 0 |
20 | Depăşit | 340kb | Time limit exceeded. | 0 |
Punctaj total | 0 |