Atostogos

Taškai: 6.7

Compile: OK

atostogos.cpp: In function ‘int main()’: atostogos.cpp:42: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:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &w[i]); ^ atostogos.cpp:50: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.012 sok
2True0.012 sok
3False1.08 sTime limit exceeded (wall clock)
4False1.076 sTime limit exceeded (wall clock)
5False1.076 sTime limit exceeded (wall clock)
6False1.088 sTime limit exceeded (wall clock)
7False1.084 sTime limit exceeded (wall clock)
8False1.088 sTime limit exceeded (wall clock)
9False1.088 sTime limit exceeded (wall clock)
10False1.08 sTime limit exceeded (wall clock)
11False1.08 sTime limit exceeded (wall clock)
12False1.072 sTime limit exceeded (wall clock)
13False1.076 sTime limit exceeded (wall clock)
14False1.08 sTime limit exceeded (wall clock)
15False1.048 sTime limit exceeded (wall clock)
16False1.08 sTime limit exceeded (wall clock)
17False1.064 sTime limit exceeded (wall clock)
18False1.072 sTime limit exceeded (wall clock)
19False1.08 sTime limit exceeded (wall clock)
20False1.06 sTime limit exceeded (wall clock)
21False1.076 sTime limit exceeded (wall clock)
22False1.08 sTime limit exceeded (wall clock)
23False0.968 sTime limit exceeded (wall clock)
24False1.076 sTime limit exceeded (wall clock)
25False1.08 sTime limit exceeded (wall clock)
26False1.036 sTime limit exceeded (wall clock)
27False0.816 sTime limit exceeded (wall clock)
28False1.08 sTime limit exceeded (wall clock)
29False1.072 sTime limit exceeded (wall clock)
30False1.072 sTime limit exceeded (wall clock)