Masyvo užklausos 4

Taškai: 25

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:83: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.016 sNeteisinga eilutė
2True0.012 sok
3True0.016 sok
4True0.012 sok
5True0.012 sok
6True0.012 sok
7True0.012 sok
8True0.016 sok
9False0.192 sNeteisinga eilutė
10False0.084 sNeteisinga eilutė
11False0.144 sNeteisinga eilutė
12False0.212 sNeteisinga eilutė
13False0.236 sNeteisinga eilutė
14False0.172 sNeteisinga eilutė
15False0.136 sNeteisinga eilutė
16False0.112 sNeteisinga eilutė
17False0.148 sNeteisinga eilutė
18False0.092 sNeteisinga eilutė
19False0.112 sNeteisinga eilutė
20False0.088 sNeteisinga eilutė
21False0.152 sNeteisinga eilutė
22False0.164 sNeteisinga eilutė
23False0.072 sNeteisinga eilutė
24False0.168 sNeteisinga eilutė
25False0.192 sNeteisinga eilutė
26False0.06 sNeteisinga eilutė
27False0.204 sNeteisinga eilutė
28False0.16 sNeteisinga eilutė