foo.cc: In function 'int main()':
foo.cc:5:9: error: 'imt' was not declared in this scope; did you mean 'int'?
5 | imt m,m1,a,b,sum=0,sum1=0;
| ^~~
| int
foo.cc:6:9: error: 'cim' was not declared in this scope
6 | cim>>m>>a>>m1>>b;
| ^~~
foo.cc:6:14: error: 'm' was not declared in this scope; did you mean 'tm'?
6 | cim>>m>>a>>m1>>b;
| ^
| tm
foo.cc:6:17: error: 'a' was not declared in this scope
6 | cim>>m>>a>>m1>>b;
| ^
foo.cc:6:20: error: 'm1' was not declared in this scope; did you mean 'y1'?
6 | cim>>m>>a>>m1>>b;
| ^~
| y1
foo.cc:6:24: error: 'b' was not declared in this scope
6 | cim>>m>>a>>m1>>b;
| ^
foo.cc:9:24: error: 'sum' was not declared in this scope
9 | case 1:sum+=a;break;
| ^~~
foo.cc:24:24: error: 'sum1' was not declared in this scope
24 | case 1:sum1+=b;break;
| ^~~~
foo.cc:37:15: error: 'sum1' was not declared in this scope
37 | cout<<sum1-sum;
| ^~~~
foo.cc:37:20: error: 'sum' was not declared in this scope
37 | cout<<sum1-sum;
| ^~~
[Hydro](https://hydro.ac)提供评测服务