| Problem | houselighting |
|---|---|
| User | LeoYoungLion |
| Submission Time | 2026-11-27 13:57:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
houselighting.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
houselighting.cpp:5:1: note: in expansion of macro ‘int’
5 | int n, k;
| ^~~
houselighting.cpp:5:5: error: ‘n’ does not name a type; did you mean ‘yn’?
5 | int n, k;
| ^
| yn
houselighting.cpp: In function ‘int32_t main()’:
houselighting.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n >> k;
| ^
| yn
houselighting.cpp:7:14: error: ‘k’ was not declared in this scope
7 | cin >> n >> k;
| ^