/in/foo.cc: In function 'void write()':
/in/foo.cc:28:10: warning: array subscript has type 'char' [-Wchar-subscripts]
s[++cnt]=(ans%10+'0');
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type '__int128*' [-Wformat=]
scanf("%lld%lld",&n,&m);
^
/in/foo.cc:34:27: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type '__int128*' [-Wformat=]
/in/foo.cc:37:25: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type '__int128*' [-Wformat=]
scanf("%lld",&a[i][j]);
^