BIT Operations

Taškai: 100

Compile: OK

bit_operations.cpp: In function ‘int main()’: bit_operations.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ bit_operations.cpp:50:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &nodes[i + N]); ^ bit_operations.cpp:56:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%lld", &pos, &val); ^

nr.resulttimemessage
1True0.004 sok
2True0.004 sok
3True0.004 sok
4True0.008 sok
5True0.008 sok
6True0.008 sok
7True0.008 sok
8True0.008 sok
9True0.008 sok
10True0.008 sok
11True0.008 sok
12True0.008 sok
13True0.012 sok
14True0.016 sok
15True0.012 sok
16True0.016 sok
17True0.028 sok
18True0.004 sok
19True0.02 sok
20True0.024 sok
21True0.02 sok
22True0.028 sok
23True0.028 sok
24True0.028 sok
25True0.032 sok
26True0.028 sok
27True0.028 sok
28True0.032 sok
29True0.032 sok
30True0.1 sok