| Problem | swapbuildings |
|---|---|
| User | 90Dream09 |
| Submission Time | 2026-02-22 21:42:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swapbuildings.cpp:1:12: error: ‘vector’ was not declared in this scope
1 | int repeat(vector<int> hat){
| ^~~~~~
swapbuildings.cpp:1:19: error: expected primary-expression before ‘int’
1 | int repeat(vector<int> hat){
| ^~~
swapbuildings.cpp: In function ‘int main()’:
swapbuildings.cpp:28:5: error: ‘vector’ was not declared in this scope
28 | vector<int> hi;
| ^~~~~~
swapbuildings.cpp:28:12: error: expected primary-expression before ‘int’
28 | vector<int> hi;
| ^~~
swapbuildings.cpp:29:5: error: ‘cin’ was not declared in this scope
29 | cin >> t;
| ^~~
swapbuildings.cpp:35:9: error: ‘hi’ was not declared in this scope
35 | hi.push_back(c);
| ^~
swapbuildings.cpp:40:10: error: ‘hi’ was not declared in this scope
40 | sort(hi.begin(), hi.end());
|