Slidininkas
- [1] 2020-05-10 11:05 (100)
Taškai: 100
Compile: OK
slidininkas.cpp: In function ‘int main()’: slidininkas.cpp:77:42: warning: narrowing conversion of ‘(((int)now.std::vector<_Tp, _Alloc>::operator[]<short unsigned int, std::allocator<short unsigned int> >(3ul)) + 1)’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] Q.push({y,x,now[2],now[3]+1}); ^ slidininkas.cpp:77:42: warning: narrowing conversion of ‘(((int)now.std::vector<_Tp, _Alloc>::operator[]<short unsigned int, std::allocator<short unsigned int> >(3ul)) + 1)’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing] slidininkas.cpp:17:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("slidininkas.in","r",stdin); ^ slidininkas.cpp:18:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("slidininkas.out","w",stdout); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.004 s | ok |
2 | True | 0.004 s | ok |
3 | True | 0.232 s | ok |
4 | True | 0.004 s | ok |
5 | True | 0.004 s | ok |
6 | True | 0.004 s | ok |
7 | True | 0.004 s | ok |
8 | True | 0.136 s | ok |
9 | True | 0.004 s | ok |
10 | True | 0.048 s | ok |
11 | True | 0.136 s | ok |
12 | True | 0.004 s | ok |
13 | True | 0.044 s | ok |
14 | True | 0.068 s | ok |
15 | True | 0.096 s | ok |
16 | True | 0.06 s | ok |
17 | True | 0.228 s | ok |