Masyvo užklausos

Taškai: 58.0

Compile: OK

segment_tree.cpp: In function ‘int main()’: segment_tree.cpp:48: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:51: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:57: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.004 sok
4True0.004 sok
5True0.004 sok
6True0.004 sok
7True0.004 sok
8True0.004 sok
9True0.004 sok
10True0.004 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.004 sok
20True0.008 sok
21True0.012 sok
22True0.012 sok
23True0.012 sok
24True0.012 sok
25True0.012 sok
26True0.012 sok
27True0.016 sok
28True0.016 sok
29True0.016 sok
30False1.072 sTime limit exceeded (wall clock)
31False1.072 sTime limit exceeded (wall clock)
32False1.072 sTime limit exceeded (wall clock)
33False1.072 sTime limit exceeded (wall clock)
34False1.072 sTime limit exceeded (wall clock)
35False1.06 sTime limit exceeded (wall clock)
36False1.08 sTime limit exceeded (wall clock)
37False1.072 sTime limit exceeded (wall clock)
38False1.088 sTime limit exceeded (wall clock)
39False1.068 sTime limit exceeded (wall clock)
40False1.076 sTime limit exceeded (wall clock)
41False1.08 sTime limit exceeded (wall clock)
42False1.068 sTime limit exceeded (wall clock)
43False1.076 sTime limit exceeded (wall clock)
44False1.072 sTime limit exceeded (wall clock)
45False1.068 sTime limit exceeded (wall clock)
46False1.064 sTime limit exceeded (wall clock)
47False1.076 sTime limit exceeded (wall clock)
48False1.068 sTime limit exceeded (wall clock)
49False1.076 sTime limit exceeded (wall clock)
50False1.028 sTime limit exceeded (wall clock)