Problem catlunch
User Erica
Submission Time 2025-05-24 09:46:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:6:6: error: ‘base’ has not been declared
6 | ios base::sync_with_stdio(false);cin.tie(0);
| ^~~~
catlunch.cpp:6:27: error: qualified-id in declaration before ‘(’ token
6 | ios base::sync_with_stdio(false);cin.tie(0);
| ^
catlunch.cpp:18:19: error: expected ‘;’ before ‘<’ token
18 | for (int i = 0, i < k; i++){
| ^~
| ;
catlunch.cpp:18:20: error: expected primary-expression before ‘<’ token
18 | for (int i = 0, i < k; i++){
| ^