Slidininkas

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.resulttimemessage
1True0.004 sok
2True0.004 sok
3True0.232 sok
4True0.004 sok
5True0.004 sok
6True0.004 sok
7True0.004 sok
8True0.136 sok
9True0.004 sok
10True0.048 sok
11True0.136 sok
12True0.004 sok
13True0.044 sok
14True0.068 sok
15True0.096 sok
16True0.06 sok
17True0.228 sok