Problem illuminate
User wahjsodhowasd
Submission Time 2026-02-20 14:59:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

illuminate.cpp: In function ‘int main()’:
illuminate.cpp:12:1: error: expected ‘,’ or ‘;’ before ‘for’
12 | for (long long j=0;j<C;j++){
| ^~~
illuminate.cpp:12:20: error: ‘j’ was not declared in this scope
12 | for (long long j=0;j<C;j++){
| ^
illuminate.cpp:20:25: error: expected ‘;’ before ‘long’
20 | sort (v.begin(),v.end())
| ^
| ;
21 | long long curr_C=0
| ~~~~
illuminate.cpp:22:13: error: ‘i’ was not declared in this scope
22 | for(int i=0;i<v.size;i++){
| ^