Masyvo užklausos

Taškai: 4

Compile: OK

segment_tree.cpp: In function ‘int main()’: segment_tree.cpp:60:31: 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:62:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &numbers[i]); ^ segment_tree.cpp:72: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.0 sok
2False0.0 sNeteisinga eilutė
3True0.0 sok
4False0.0 sNeteisinga eilutė
5False0.0 sNeteisinga eilutė
6False0.004 sNeteisinga eilutė
7False0.0 sNeteisinga eilutė
8False0.0 sNeteisinga eilutė
9False0.0 sNeteisinga eilutė
10False0.0 sNeteisinga eilutė
11False0.0 sNeteisinga eilutė
12False0.0 sNeteisinga eilutė
13False0.0 sNeteisinga eilutė
14False0.004 sNeteisinga eilutė
15False0.0 sNeteisinga eilutė
16False0.0 sNeteisinga eilutė
17False0.004 sNeteisinga eilutė
18False0.0 sNeteisinga eilutė
19False0.0 sNeteisinga eilutė
20False0.016 sNeteisinga eilutė
21False0.024 sNeteisinga eilutė
22False0.02 sNeteisinga eilutė
23False0.024 sNeteisinga eilutė
24False0.024 sNeteisinga eilutė
25False0.032 sNeteisinga eilutė
26False0.056 sNeteisinga eilutė
27False0.032 sNeteisinga eilutė
28False0.06 sNeteisinga eilutė
29False0.052 sNeteisinga eilutė
30False1.08 sTime limit exceeded (wall clock)
31False1.084 sTime limit exceeded (wall clock)
32False1.072 sTime limit exceeded (wall clock)
33False1.088 sTime limit exceeded (wall clock)
34False1.076 sTime limit exceeded (wall clock)
35False1.084 sTime limit exceeded (wall clock)
36False1.08 sTime limit exceeded (wall clock)
37False1.084 sTime limit exceeded (wall clock)
38False1.076 sTime limit exceeded (wall clock)
39False1.072 sTime limit exceeded (wall clock)
40False1.08 sTime limit exceeded (wall clock)
41False1.08 sTime limit exceeded (wall clock)
42False1.076 sTime limit exceeded (wall clock)
43False1.084 sTime limit exceeded (wall clock)
44False1.068 sTime limit exceeded (wall clock)
45False1.08 sTime limit exceeded (wall clock)
46False1.084 sTime limit exceeded (wall clock)
47False1.08 sTime limit exceeded (wall clock)
48False1.088 sTime limit exceeded (wall clock)
49False1.084 sTime limit exceeded (wall clock)
50False1.088 sTime limit exceeded (wall clock)