Sunkvežimiai (LMIO 2017)

Taškai: 100

Compile: OK

lmio_2017_sunkvezimiai_vyr.cpp: In function ‘int main()’: lmio_2017_sunkvezimiai_vyr.cpp:40:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &M, &U); ^ lmio_2017_sunkvezimiai_vyr.cpp:45:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &u, &v, &w); ^ lmio_2017_sunkvezimiai_vyr.cpp:55:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &u, &v, &w); ^

nr.resulttimemessage
1True0.004 sok
2True0.648 sok
3True0.0 sok
4True0.044 sok
5True0.004 sok
6True0.004 sok
7True0.004 sok
8True0.004 sok
9True0.004 sok
10True0.004 sok
11True0.004 sok
12True0.008 sok
13True0.008 sok
14True0.012 sok
15True0.04 sok
16True0.06 sok
17True0.06 sok
18True0.004 sok
19True0.016 sok
20True0.0 sok
21True0.0 sok
22True0.0 sok
23True0.004 sok
24True0.036 sok
25True0.04 sok
26True0.396 sok
27True0.0 sok
28True0.004 sok
29True0.004 sok
30True0.004 sok
31True0.052 sok
32True0.028 sok
33True0.0 sok
34True0.408 sok
35True0.352 sok