| Problem | cpicsort |
|---|---|
| User | austenj |
| Submission Time | 2026-06-23 14:51:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cpicsort.cpp: In function ‘int main()’:
cpicsort.cpp:12:12: error: no match for call to ‘(std::vector<int>) (int&)’
12 | cin >> A(i);
| ^
cpicsort.cpp:16:13: error: no match for call to ‘(std::vector<int>) (int&)’
16 | cout << A(i)<<" ";
| ^
cpicsort.cpp:18:14: error: expected ‘;’ before ‘reverse’
18 | cout << "\n"
| ^
| ;
19 | reverse(A.begin(), A.end());
| ~~~~~~~
cpicsort.cpp:20:18: error: expected ‘;’ before ‘<’ token
20 | for (int i = 0, i < N; i++) {
| ^~
| ;
cpicsort.cpp:20:19: error: expected primary-expression before ‘<’ token
20 | for (int i = 0, i < N; i++) {
| ^
cpicsort.cpp:21:13: error: no match for call to ‘(std::vector<int>) (int&)’
21 | cout << A(i) << " ";