foo.cc:25:5: error: expected unqualified-id before 'for'
   25 |     for(int i=300;i;){
      |     ^~~
foo.cc:25:19: error: 'i' does not name a type
   25 |     for(int i=300;i;){
      |                   ^
foo.cc:25:21: error: expected unqualified-id before ')' token
   25 |     for(int i=300;i;){
      |                     ^
foo.cc:44:5: error: redefinition of 'int t [301][2]'
   44 | int t[301][2];
      |     ^
foo.cc:3:5: note: 'int t [301][2]' previously declared here
    3 | int t[301][2];
      |     ^
foo.cc:45:5: error: redefinition of 'int main()'
   45 | int main()
      |     ^~~~
foo.cc:4:5: note: 'int main()' previously defined here
    4 | int main()
      |     ^~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务