Šaulys 1
- [1] 2023-12-10 17:00 (60)
- [2] 2023-12-10 17:01 (60)
Taškai: 60
Compile: OK
saul1.cpp: In function ‘void solve(const char*, const char*)’: saul1.cpp:32:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 32 | freopen(inFile, "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ saul1.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(outFile, "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
nr. | result | time | message |
---|---|---|---|
1 | True | 0.003 s | ok |
2 | True | 0.001 s | ok |
3 | True | 0.001 s | ok |
4 | True | 0.002 s | ok |
5 | True | 0.005 s | ok |
6 | False | 0.019 s | Neteisinga eilutė |
7 | True | 0.042 s | ok |
8 | False | 0.006 s | Neteisinga eilutė |
9 | False | 0.012 s | Neteisinga eilutė |
10 | False | 0.013 s | Neteisinga eilutė |