Masyvo užklausos

Taškai: 90

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.004 sok
2True0.004 sok
3True0.0 sok
4True0.004 sok
5True0.004 sok
6True0.004 sok
7True0.004 sok
8True0.004 sok
9True0.004 sok
10True0.008 sok
11True0.004 sok
12True0.004 sok
13True0.004 sok
14True0.004 sok
15True0.004 sok
16True0.004 sok
17True0.004 sok
18True0.004 sok
19True0.0 sok
20True0.004 sok
21True0.008 sok
22True0.008 sok
23True0.008 sok
24True0.008 sok
25True0.012 sok
26True0.008 sok
27True0.008 sok
28True0.008 sok
29True0.008 sok
30True0.056 sok
31True0.06 sok
32True0.032 sok
33True0.032 sok
34True0.036 sok
35True0.036 sok
36True0.068 sok
37True0.072 sok
38True0.08 sok
39True0.044 sok
40False0.024 sCaught fatal signal 11
41False0.024 sCaught fatal signal 11
42True0.128 sok
43False0.032 sCaught fatal signal 11
44False0.016 sCaught fatal signal 11
45False0.036 sCaught fatal signal 11
46True0.028 sok
47True0.1 sok
48True0.068 sok
49True0.076 sok
50True0.124 sok