Problem houselighting
User bonkbonkbonk
Submission Time 2026-11-27 11:55:28
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:17:11: error: ‘k’ was not declared in this scope
17 | cout << k;
| ^