Masyvo užklausos

Taškai: 100

Compile: OK

segment_tree.cpp: In function ‘int main()’: segment_tree.cpp:49:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &K); ^ segment_tree.cpp:52:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &numbers[i]); ^ segment_tree.cpp:58:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c%d%d", &ch, &left, &right); ^

nr.resulttimemessage
1True0.008 sok
2True0.012 sok
3True0.008 sok
4True0.008 sok
5True0.008 sok
6True0.016 sok
7True0.016 sok
8True0.012 sok
9True0.012 sok
10True0.012 sok
11True0.016 sok
12True0.016 sok
13True0.008 sok
14True0.008 sok
15True0.008 sok
16True0.008 sok
17True0.016 sok
18True0.016 sok
19True0.016 sok
20True0.016 sok
21True0.016 sok
22True0.016 sok
23True0.016 sok
24True0.02 sok
25True0.02 sok
26True0.024 sok
27True0.02 sok
28True0.016 sok
29True0.02 sok
30True0.068 sok
31True0.072 sok
32True0.04 sok
33True0.072 sok
34True0.072 sok
35True0.08 sok
36True0.08 sok
37True0.084 sok
38True0.08 sok
39True0.08 sok
40True0.116 sok
41True0.092 sok
42True0.148 sok
43True0.064 sok
44True0.056 sok
45True0.204 sok
46True0.036 sok
47True0.072 sok
48True0.076 sok
49True0.072 sok
50True0.144 sok