Masyvo užklausos 3

Taškai: 100

Compile: OK

segment_tree_3.cpp: In function ‘int main()’: segment_tree_3.cpp:50:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld", &n, &q); ^ segment_tree_3.cpp:53:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld", &c); ^ segment_tree_3.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] char c; scanf(" %1c", &c); ^ segment_tree_3.cpp:61:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld %lld", &l, &r, &d); ^ segment_tree_3.cpp:64:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld", &l, &r); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4True0.004 sok
5True0.0 sok
6True0.0 sok
7True0.0 sok
8True0.004 sok
9True0.0 sok
10True0.0 sok
11True0.084 sok
12True0.084 sok
13True0.148 sok
14True0.148 sok
15True0.164 sok
16True0.06 sok
17True0.088 sok
18True0.124 sok
19True0.136 sok
20True0.072 sok
21True0.072 sok
22True0.044 sok
23True0.088 sok
24True0.1 sok
25True0.04 sok
26True0.156 sok
27True0.172 sok
28True0.068 sok
29True0.148 sok
30True0.112 sok