0_0_38235095_25558.cpp: In function 'void Solve()':
0_0_38235095_25558.cpp:25:8: error: 'n' was not declared in this scope
cout<<n+m-2<<'\n';
^
0_0_38235095_25558.cpp:25:10: error: 'm' was not declared in this scope
cout<<n+m-2<<'\n';
^
0_0_38235095_25558.cpp: In function 'int main()':
0_0_38235095_25558.cpp:36:13: error: 'n' was not declared in this scope
while(cin>>n>>m)
^
0_0_38235095_25558.cpp:36:16: error: 'm' was not declared in this scope
while(cin>>n>>m)
^
|