Atostogos

Taškai: 30

Compile: OK

atostogos.cpp: In function ‘int main()’: atostogos.cpp:41: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:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &w[i]); ^ atostogos.cpp:49: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.648 sok
4False1.076 sTime limit exceeded (wall clock)
5False1.076 sTime limit exceeded (wall clock)
6False1.08 sTime limit exceeded (wall clock)
7True0.832 sok
8False1.076 sTime limit exceeded (wall clock)
9False1.084 sTime limit exceeded (wall clock)
10False1.084 sTime limit exceeded (wall clock)
11False1.076 sTime limit exceeded (wall clock)
12True0.672 sok
13True0.692 sok
14False1.088 sTime limit exceeded (wall clock)
15False1.08 sTime limit exceeded (wall clock)
16False1.084 sTime limit exceeded (wall clock)
17False1.076 sTime limit exceeded (wall clock)
18True0.892 sok
19False1.08 sTime limit exceeded (wall clock)
20False1.06 sTime limit exceeded (wall clock)
21True0.688 sok
22False1.08 sTime limit exceeded (wall clock)
23False1.088 sTime limit exceeded (wall clock)
24False1.076 sTime limit exceeded (wall clock)
25False1.076 sTime limit exceeded (wall clock)
26False1.08 sTime limit exceeded (wall clock)
27False0.98 sTime limit exceeded (wall clock)
28True0.884 sok
29False1.084 sTime limit exceeded (wall clock)
30False1.088 sTime limit exceeded (wall clock)