Ilgiausias didėjantis posekis
- [1] 2020-10-14 09:28 (100)
Taškai: 100
Compile: OK
posekis.cpp: In function ‘int main()’: posekis.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("posekis.in", "r", stdin); ^ posekis.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("posekis.out", "w", stdout); ^ posekis.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ posekis.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Arr[i]); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.0 s | ok |
3 | True | 0.004 s | ok |
4 | True | 0.0 s | ok |
5 | True | 0.0 s | ok |
6 | True | 0.0 s | ok |
7 | True | 0.0 s | ok |
8 | True | 0.004 s | ok |
9 | True | 0.004 s | ok |
10 | True | 0.0 s | ok |