foo.cc: In function 'void solve()':
foo.cc:3:11: error: 'cin' was not declared in this scope
3 | int n;cin>>n;
| ^~~
foo.cc:13:9: error: 'cout' was not declared in this scope
13 | cout<<"Hridoy"<<endl;
| ^~~~
foo.cc:13:25: error: 'endl' was not declared in this scope
13 | cout<<"Hridoy"<<endl;
| ^~~~
foo.cc:16:15: error: 'max' was not declared in this scope
16 | int dif = max(od,ev) - min(od,ev);
| ^~~
foo.cc:16:28: error: 'min' was not declared in this scope
16 | int dif = max(od,ev) - min(od,ev);
| ^~~
foo.cc:19:9: error: 'cout' was not declared in this scope
19 | cout<<"Roy"<<endl;
| ^~~~
foo.cc:19:22: error: 'endl' was not declared in this scope
19 | cout<<"Roy"<<endl;
| ^~~~
foo.cc:26:13: error: 'cout' was not declared in this scope
26 | cout<<"Hridoy"<<endl;
| ^~~~
foo.cc:26:29: error: 'endl' was not declared in this scope
26 | cout<<"Hridoy"<<endl;
| ^~~~
foo.cc:30:13: error: 'cout' was not declared in this scope
30 | cout<<"Roy"<<endl;
| ^~~~
foo.cc:30:26: error: 'endl' was not declared in this scope
30 | cout<<"Roy"<<endl;
| ^~~~