| Problem | GSS |
|---|---|
| User | scse513 |
| Submission Time | 2026-11-03 17:44:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:14:12: error: request for member ‘begin’ in ‘v’, which is of non-class type ‘std::vector<int> [n]’
14 | sort(v.begin(), v.end());
| ^~~~~
GSS.cpp:14:23: error: request for member ‘end’ in ‘v’, which is of non-class type ‘std::vector<int> [n]’
14 | sort(v.begin(), v.end());
| ^~~
GSS.cpp:18:11: error: request for member ‘erase’ in ‘v’, which is of non-class type ‘std::vector<int> [n]’
18 | v.erase(v.begin() + i);
| ^~~~~
GSS.cpp:18:19: error: request for member ‘begin’ in ‘v’, which is of non-class type ‘std::vector<int> [n]’
18 | v.erase(v.begin() + i);
| ^~~~~
GSS.cpp:20:27: error: request for member ‘size’ in ‘v’, which is of non-class type ‘std::vector<int> [n]’
20 | for (int i = 0; i < v.size(); i++){
| ^~