Kelių ilgiai

Taškai: 78.8

Compile: OK

keliu_ilgiai.cpp: In function ‘void solve(const char*, const char*)’: keliu_ilgiai.cpp:33:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 33 | freopen(inFileLocation, "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ keliu_ilgiai.cpp:34:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 34 | freopen(outFileLocation, "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

nr.resulttimemessage
1True0.03 sok
2True0.032 sok
3True0.029 sok
4True0.029 sok
5False0.03 sNeteisinga eilutė
6True0.033 sok
7True0.039 sok
8False0.032 sNeteisinga eilutė
9True0.029 sok
10True0.031 sok
11False0.029 sNeteisinga eilutė
12True0.03 sok
13True0.54 sok
14False0.549 sNeteisinga eilutė
15False0.576 sNeteisinga eilutė
16True0.538 sok
17True0.341 sok
18True0.339 sok
19True0.337 sok
20True0.506 sok
21False0.517 sNeteisinga eilutė
22True0.558 sok
23True0.572 sok
24True0.566 sok
25False0.563 sNeteisinga eilutė
26True0.577 sok
27True0.539 sok
28True0.577 sok
29True0.583 sok
30True0.478 sok
31True0.477 sok
32True0.496 sok
33True0.498 sok