Ilgiausias bendras posekis 2
- [1] 2023-04-22 12:03 (100)
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. | result | time | message |
---|---|---|---|
1 | True | 0.002 s | ok |
2 | True | 0.001 s | ok |
3 | True | 0.001 s | ok |
4 | True | 0.001 s | ok |
5 | True | 0.001 s | ok |
6 | True | 0.006 s | ok |
7 | True | 0.006 s | ok |
8 | True | 0.008 s | ok |
9 | True | 0.008 s | ok |
10 | True | 0.007 s | ok |
11 | True | 0.004 s | ok |
12 | True | 0.002 s | ok |
13 | True | 0.003 s | ok |
14 | True | 0.001 s | ok |
15 | True | 0.001 s | ok |
16 | True | 0.001 s | ok |
17 | True | 0.001 s | ok |
18 | True | 0.004 s | ok |
19 | True | 0.003 s | ok |
20 | True | 0.002 s | ok |
21 | True | 0.001 s | ok |
22 | True | 0.001 s | ok |
23 | True | 0.001 s | ok |
24 | True | 0.001 s | ok |