Problem houselighting
User bonkbonkbonk
Submission Time 2026-11-27 11:57:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

houselighting.cpp: In function ‘int32_t main()’:
houselighting.cpp:11:5: error: expected initializer before ‘cin’
11 | cin >> n >> k;
| ^~~
houselighting.cpp:15:9: error: ‘k’ was not declared in this scope
15 | if (k==0) {
| ^