Problem staircase
User ethantanaki
Submission Time 2026-11-24 23:14:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

staircase.cpp: In function ‘int main()’:
staircase.cpp:7:9: error: left operand of comma operator cannot resolve address of overloaded function
7 | sort[v.begin,v.end];
| ~~^~~~~
staircase.cpp:7:17: error: no context to resolve type of ‘v.std::vector<int>::end’
7 | sort[v.begin,v.end];
| ^~~