Ar dalo?
- [1] 2023-04-22 12:07 (100)
 
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. | result | time | message | 
|---|---|---|---|
| 1 | True | 0.002 s | ok | 
| 2 | True | 0.001 s | ok | 
| 3 | True | 0.005 s | ok | 
| 4 | True | 0.017 s | ok | 
| 5 | True | 0.035 s | ok | 
