Problem cpicsort
User dharshanmb
Submission Time 2026-06-23 16:16:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cpicsort.cpp: In function ‘int main()’:
cpicsort.cpp:21:12: error: template argument 1 is invalid
21 | for(int y:a){
| ^
cpicsort.cpp:22:11: error: ‘y’ was not declared in this scope
22 | cout<<y<<" ";
| ^
cpicsort.cpp:25:1: error: expected ‘}’ at end of input
25 | }
| ^
cpicsort.cpp:6:15: note: to match this ‘{’
6 | signed main() {
| ^