Kelionė namo 1

Taškai: 78.4

Compile: OK

kelione_namo_1.cpp: In function ‘int main()’: kelione_namo_1.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_1.in", "r", stdin); ^ kelione_namo_1.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_1.out", "w", stdout); ^ kelione_namo_1.cpp:21:20: warning: iteration 10001u invokes undefined behavior [-Waggressive-loop-optimizations] dp[0][i]=-1; ^ kelione_namo_1.cpp:20:19: note: containing loop for(int i=0; i<10002; i++){ ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4True0.0 sok
5True0.0 sok
6True0.0 sok
7True0.0 sok
8True0.248 sok
9False0.116 sCaught fatal signal 11
10True0.316 sok
11False0.128 sCaught fatal signal 11
12True0.344 sok
13True0.324 sok
14True0.276 sok
15True0.0 sok
16True0.0 sok
17True0.0 sok
18True0.0 sok
19True0.0 sok
20True0.0 sok
21True0.0 sok
22True0.26 sok
23True0.308 sok
24True0.288 sok
25True0.26 sok
26True0.26 sok
27True0.304 sok
28True0.22 sok
29True0.3 sok
30True0.284 sok
31True0.26 sok
32True0.0 sok
33True0.0 sok
34True0.0 sok
35True0.0 sok
36True0.0 sok
37True0.0 sok
38True0.0 sok
39True0.0 sok
40True0.0 sok
41True0.0 sok
42False0.168 sCaught fatal signal 11
43False0.112 sCaught fatal signal 11
44False0.112 sCaught fatal signal 11
45False0.16 sCaught fatal signal 11
46False0.084 sCaught fatal signal 11
47False0.048 sCaught fatal signal 11
48False0.104 sCaught fatal signal 11
49False0.096 sCaught fatal signal 11
50False0.156 sCaught fatal signal 11
51True0.232 sok