Atostogos

Taškai: 100

Compile: OK

atostogos.cpp: In function ‘int main()’: atostogos.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &m); ^ atostogos.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &w[i]); ^ atostogos.cpp:55:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &fr, &to); ^

nr.resulttimemessage
1True0.004 sok
2True0.008 sok
3True0.224 sok
4True0.2 sok
5True0.152 sok
6True0.144 sok
7True0.212 sok
8True0.196 sok
9True0.16 sok
10True0.196 sok
11True0.176 sok
12True0.204 sok
13True0.228 sok
14True0.168 sok
15True0.204 sok
16True0.236 sok
17True0.18 sok
18True0.152 sok
19True0.208 sok
20True0.216 sok
21True0.176 sok
22True0.22 sok
23True0.176 sok
24True0.196 sok
25True0.216 sok
26True0.168 sok
27True0.22 sok
28True0.188 sok
29True0.192 sok
30True0.18 sok