watching.cpp: In function 'int check(int, int, long long int, int, int)':
watching.cpp:46:13: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
46 | if(mp[{x,y,dis,ind,pos}].F==true){
| ^~~
watching.cpp:46:13: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:47:18: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
47 | return mp[{x,y,dis,ind,pos}].S;
| ^~~
watching.cpp:47:18: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:67:11: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
67 | mp[{x,y,dis,ind,pos}].S=true;
| ^~~
watching.cpp:67:11: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:68:18: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
68 | return mp[{x,y,dis,ind,pos}].S=1;
| ^~~
watching.cpp:68:18: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:72:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
72 | mp[{x,y,dis,ind,pos}].S=true;
| ^~~
watching.cpp:72:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:73:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
73 | return mp[{x,y,dis,ind,pos}].F=max(check(x-1,y,dis,nind,1),check(x,y-1,dis,nind,2));
| ^~~
watching.cpp:73:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:76:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
76 | mp[{x,y,dis,ind,pos}].S=true;
| ^~~
watching.cpp:76:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:77:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
77 | return mp[{x,y,dis,ind,pos}].F=check(x-1,y,dis,nind,1);
| ^~~
watching.cpp:77:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:80:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
80 | mp[{x,y,dis,ind,pos}].S=true;
| ^~~
watching.cpp:80:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:81:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
81 | return mp[{x,y,dis,ind,pos}].F=check(x,y-1,dis,nind,2);
| ^~~
watching.cpp:81:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:84:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
84 | mp[{x,y,dis,ind,pos}].S=true;
| ^~~
watching.cpp:84:12: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
watching.cpp:85:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]
85 | return mp[{x,y,dis,ind,pos}].S=0;
| ^~~
watching.cpp:85:19: warning: narrowing conversion of 'dis' from 'long long int' to 'int' [-Wnarrowing]