Ilgiausias bendras posekis 2

Taškai: 100

Compile: OK

bendras_posekis.cpp: In function ‘void setIO(std::string)’: bendras_posekis.cpp:8:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | freopen((name + ".in").c_str(), "r", stdin); // see /general/input-output | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bendras_posekis.cpp:9:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | freopen((name + ".out").c_str(), "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

nr.resulttimemessage
1True0.002 sok
2True0.001 sok
3True0.001 sok
4True0.001 sok
5True0.001 sok
6True0.006 sok
7True0.006 sok
8True0.008 sok
9True0.008 sok
10True0.007 sok
11True0.004 sok
12True0.002 sok
13True0.003 sok
14True0.001 sok
15True0.001 sok
16True0.001 sok
17True0.001 sok
18True0.004 sok
19True0.003 sok
20True0.002 sok
21True0.001 sok
22True0.001 sok
23True0.001 sok
24True0.001 sok