Kelionė namo 2

Taškai: 47.1

Compile: OK

kelione_namo_2.cpp: In function ‘int main()’: kelione_namo_2.cpp:12:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kelione_namo_2.in", "r", stdin); ^ kelione_namo_2.cpp:13:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kelione_namo_2.out", "w", stdout); ^ kelione_namo_2.cpp:21:20: warning: iteration 1000001u invokes undefined behavior [-Waggressive-loop-optimizations] dp[0][i]=-1; ^ kelione_namo_2.cpp:20:19: note: containing loop for(int i=0; i<1000002; i++){ ^

nr.resulttimemessage
1True0.016 sok
2True0.028 sok
3True0.028 sok
4True0.028 sok
5True0.028 sok
6True0.028 sok
7True0.028 sok
8False0.208 sCaught fatal signal 11
9False1.08 sTime limit exceeded (wall clock)
10False1.08 sTime limit exceeded (wall clock)
11False1.088 sTime limit exceeded (wall clock)
12False1.088 sTime limit exceeded (wall clock)
13False1.08 sTime limit exceeded (wall clock)
14False1.08 sTime limit exceeded (wall clock)
15True0.024 sok
16True0.032 sok
17True0.028 sok
18True0.032 sok
19True0.028 sok
20True0.024 sok
21True0.028 sok
22False1.072 sTime limit exceeded (wall clock)
23False1.076 sTime limit exceeded (wall clock)
24False1.088 sTime limit exceeded (wall clock)
25False1.08 sTime limit exceeded (wall clock)
26False1.076 sTime limit exceeded (wall clock)
27False1.072 sTime limit exceeded (wall clock)
28False1.072 sTime limit exceeded (wall clock)
29False1.084 sTime limit exceeded (wall clock)
30False1.076 sTime limit exceeded (wall clock)
31False1.084 sTime limit exceeded (wall clock)
32True0.028 sok
33True0.04 sok
34True0.028 sok
35True0.028 sok
36True0.028 sok
37True0.028 sok
38True0.032 sok
39True0.012 sok
40True0.028 sok
41True0.032 sok
42False1.088 sTime limit exceeded (wall clock)
43False1.088 sTime limit exceeded (wall clock)
44False1.088 sTime limit exceeded (wall clock)
45False1.084 sTime limit exceeded (wall clock)
46False1.08 sTime limit exceeded (wall clock)
47False1.084 sTime limit exceeded (wall clock)
48False1.084 sTime limit exceeded (wall clock)
49False1.076 sTime limit exceeded (wall clock)
50False1.084 sTime limit exceeded (wall clock)
51False1.084 sTime limit exceeded (wall clock)