Problem sort
User TomThuy123
Submission Time 2025-10-11 19:51:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:2:5: error: ‘ios’ has not been declared
2 | ios::sync_with_stdio(false);
| ^~~
sort.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin.tie(nullptr);
| ^~~
sort.cpp:5:5: error: ‘ll’ was not declared in this scope
5 | ll n;
| ^~
sort.cpp:6:12: error: ‘n’ was not declared in this scope
6 | cin >> n;
| ^
sort.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<string> lst(n);
| ^~~~~~
sort.cpp:7:12: error: ‘string’ was not declared in this scope
7 | vector<string> lst(n);
| ^~~~~~
sort.cpp:7:20: error: ‘lst’ was not declared in this scope
7 | vector<string> lst(n);
| ^~~
sort.cpp:8:11: error: expected ‘;’ before ‘i’
8 | for(ll i=0;i<n;i++){
| ^~