Masyvo užklausos 4

Taškai: 21.4

Compile: OK

segment_tree_4.cpp: In function ‘int main()’: segment_tree_4.cpp:68: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:70: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:75: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:78: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:84: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
3False0.012 sNeteisinga eilutė
4True0.016 sok
5True0.016 sok
6True0.012 sok
7True0.012 sok
8True0.02 sok
9False0.176 sNeteisinga eilutė
10False0.144 sNeteisinga eilutė
11False0.232 sNeteisinga eilutė
12False0.248 sNeteisinga eilutė
13False0.256 sNeteisinga eilutė
14False0.124 sNeteisinga eilutė
15False0.136 sNeteisinga eilutė
16False0.184 sNeteisinga eilutė
17False0.152 sNeteisinga eilutė
18False0.112 sNeteisinga eilutė
19False0.12 sNeteisinga eilutė
20False0.084 sNeteisinga eilutė
21False0.116 sNeteisinga eilutė
22False0.136 sNeteisinga eilutė
23False0.048 sNeteisinga eilutė
24False0.236 sNeteisinga eilutė
25False0.252 sNeteisinga eilutė
26False0.068 sNeteisinga eilutė
27False0.128 sNeteisinga eilutė
28False0.096 sNeteisinga eilutė