Ar dalo?

Taškai: 100

Compile: OK

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

nr.resulttimemessage
1True0.002 sok
2True0.001 sok
3True0.005 sok
4True0.017 sok
5True0.035 sok