0_0_39541500_2019.cpp: In function 'void solve()':
0_0_39541500_2019.cpp:3:5: error: 'string' was not declared in this scope
3 | string s; cin >> s;
| ^~~~~~
0_0_39541500_2019.cpp:3:15: error: 'cin' was not declared in this scope
3 | string s; cin >> s;
| ^~~
0_0_39541500_2019.cpp:3:22: error: 's' was not declared in this scope
3 | string s; cin >> s;
| ^
0_0_39541500_2019.cpp:4:11: error: expected ';' before 'protocol'
4 | string protocol;
| ^~~~~~~~~
| ;
0_0_39541500_2019.cpp:5:11: error: expected ';' before 'location'
5 | string location;
| ^~~~~~~~~
| ;
0_0_39541500_2019.cpp:6:5: error: 'vector' was not declared in this scope
6 | vector<string> var;
| ^~~~~~
0_0_39541500_2019.cpp:6:20: error: 'var' was not declared in this scope
6 | vector<string> var;
| ^~~
0_0_39541500_2019.cpp:7:11: error: expected ';' before 'varname'
7 | string varname,val;
| ^~~~~~~~
| ;
0_0_39541500_2019.cpp:8:5: error: 'll' was not declared in this scope
8 | ll n=s.length(),i=0,t;
| ^~
0_0_39541500_2019.cpp:9:9: error: 'i' was not declared in this scope
9 | for(i=0;i<n;i++){
| ^
0_0_39541500_2019.cpp:9:15: error: 'n' was not declared in this scope
9 | for(i=0;i<n;i++){
| ^
0_0_39541500_2019.cpp:11:13: error: 'protocol' was not declared in this scope
11 | protocol = s.substr(0,i);
| ^~~~~~~~
0_0_39541500_2019.cpp:14:9: error: 't' was not declared in this scope
14 | t = 1;
| ^
0_0_39541500_2019.cpp:15:7: error: 'i' was not declared in this scope
15 | } i+=3;
| ^
0_0_39541500_2019.cpp:16:7: error: expected ';' before 'j'
16 | ll j=i;
| ^~
| ;
0_0_39541500_2019.cpp:17:12: error: 'n' was not declared in this scope
17 | for(;i<n;i++){
| ^
0_0_39541500_2019.cpp:19:13: error: 'location' was not declared in this scope
19 | location = s.substr(j,i-j);
| ^~~~~~~~
0_0_39541500_2019.cpp:19:33: error: 'j' was not declared in this scope
19 | location = s.substr(j,i-j);
| ^
0_0_39541500_2019.cpp:23:13: error: 'n' was not declared in this scope
23 | while(i<n){ //Æ¥Åävarname=val£¬ÒÔ/·Ö¸ô
| ^
0_0_39541500_2019.cpp:24:9: error: 'j' was not declared in this scope
24 | j=i;
| ^
0_0_39541500_2019.cpp:30:13: error: 'varname' was not declared in this scope
30 | varname=s.substr(i,j-i);
| ^~~~~~~
0_0_39541500_2019.cpp:33:13: error: 'val' was not declared in this scope
33 | val=s.substr(i,j-i);
| ^~~
0_0_39541500_2019.cpp:37:5: error: 'cout' was not declared in this scope
37 | cout << protocol << endl;
| ^~~~
0_0_39541500_2019.cpp:37:13: error: 'protocol' was not declared in this scope
37 | cout << protocol << endl;
| ^~~~~~~~
0_0_39541500_2019.cpp:37:25: error: 'endl' was not declared in this scope
37 | cout << protocol << endl;
| ^~~~
0_0_39541500_2019.cpp:38:13: error: 'location' was not declared in this scope
38 | cout << location << endl;
| ^~~~~~~~
|