Problem seats2
User Jinxuan
Submission Time 2024-11-08 08:47:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

seats2.cpp: In function ‘int main()’:
seats2.cpp:6:14: error: expected ‘;’ before ‘string’
6 | int n;cin>>n
| ^
| ;
7 | string s; cin >> s;
| ~~~~~~
seats2.cpp:7:19: error: ‘s’ was not declared in this scope
7 | string s; cin >> s;
| ^