0_0_39765193_1276.cpp: In function 'void solve()':
0_0_39765193_1276.cpp:2:5: error: 'string' was not declared in this scope
2 | string s;
| ^~~~~~
0_0_39765193_1276.cpp:3:5: error: 'cin' was not declared in this scope
3 | cin>>s;
| ^~~
0_0_39765193_1276.cpp:3:10: error: 's' was not declared in this scope
3 | cin>>s;
| ^
0_0_39765193_1276.cpp:4:5: error: 'vector' was not declared in this scope
4 | vector<char> pos;
| ^~~~~~
0_0_39765193_1276.cpp:4:12: error: expected primary-expression before 'char'
4 | vector<char> pos;
| ^~~~
0_0_39765193_1276.cpp:7:23: error: 'pos' was not declared in this scope
7 | if(s[i]=='/') pos.push_back(i);
| ^~~
0_0_39765193_1276.cpp:9:19: error: 'pos' was not declared in this scope
9 | for(int i=0;i<pos.size()-1;i++){
| ^~~
0_0_39765193_1276.cpp:12:13: error: 'cout' was not declared in this scope
12 | cout<<s[j];
| ^~~~
0_0_39765193_1276.cpp:13:13: error: 'cout' was not declared in this scope
13 | cout<<'\n';
| ^~~~
0_0_39765193_1276.cpp:17:13: error: 'cout' was not declared in this scope
17 | cout<<s[j];
| ^~~~
0_0_39765193_1276.cpp:18:13: error: 'cout' was not declared in this scope
18 | cout<<'\n';
| ^~~~
0_0_39765193_1276.cpp:22:13: error: 'cout' was not declared in this scope
22 | cout<<s[j];
| ^~~~
0_0_39765193_1276.cpp:23:13: error: 'cout' was not declared in this scope
23 | cout<<'\n';
| ^~~~
0_0_39765193_1276.cpp: In function 'int main()':
0_0_39765193_1276.cpp:30:5: error: 'cin' was not declared in this scope
30 | cin>>T;
| ^~~
|