Masyvo užklausos 4

Taškai: 25

Compile: OK

segment_tree_4.cpp: In function ‘int main()’: segment_tree_4.cpp:67:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &Q); ^ segment_tree_4.cpp:69:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &numbers[i]); ^ segment_tree_4.cpp:74:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &ch); ^ segment_tree_4.cpp:77:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &left, &right); ^ segment_tree_4.cpp:82:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%lld", &left, &right, &val); ^

nr.resulttimemessage
1False0.012 sNeteisinga eilutė
2True0.012 sok
3True0.016 sok
4True0.024 sok
5True0.016 sok
6True0.016 sok
7True0.012 sok
8True0.012 sok
9False1.084 sTime limit exceeded (wall clock)
10False1.08 sTime limit exceeded (wall clock)
11False1.08 sTime limit exceeded (wall clock)
12False1.064 sTime limit exceeded (wall clock)
13False1.08 sTime limit exceeded (wall clock)
14False1.084 sTime limit exceeded (wall clock)
15False1.064 sTime limit exceeded (wall clock)
16False1.068 sTime limit exceeded (wall clock)
17False1.068 sTime limit exceeded (wall clock)
18False1.06 sTime limit exceeded (wall clock)
19False1.036 sTime limit exceeded
20False0.892 sNeteisinga eilutė
21False1.008 sTime limit exceeded (wall clock)
22False1.052 sTime limit exceeded (wall clock)
23False0.704 sNeteisinga eilutė
24False1.076 sTime limit exceeded (wall clock)
25False1.048 sTime limit exceeded (wall clock)
26False0.74 sNeteisinga eilutė
27False1.084 sTime limit exceeded (wall clock)
28False1.024 sTime limit exceeded (wall clock)