foo.cc:8:23: warning: overflow in conversion from 'int' to 'short int' changes value from '177157' to '-19451' [-Woverflow]
8 | const int BIT = 177147+10;
| ~~~~~~^~~
foo.cc:93:17: error: narrowing conversion of '-19451' from 'short int' to 'long unsigned int' [-Wnarrowing]
93 | BIG ans,f[2][BIT];
| ^
foo.cc:93:14: error: size '-19451' of array 'f' is negative
93 | BIG ans,f[2][BIT];
| ^~~
foo.cc:94:15: error: narrowing conversion of '-19451' from 'short int' to 'long unsigned int' [-Wnarrowing]
94 | short v[2][BIT];
| ^
foo.cc:94:12: error: size '-19451' of array 'v' is negative
94 | short v[2][BIT];
| ^~~
foo.cc:207:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
207 | main(){
| ^
foo.cc: In member function 'Big Big::operator=(short int)':
foo.cc:64:1: warning: control reaches end of non-void function [-Wreturn-type]
64 | }
| ^
[Hydro](https://hydro.ac)提供评测服务