Problem catlunch
User smartsword
Submission Time 2025-12-12 15:02:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:12:22: error: ‘inf’ was not declared in this scope; did you mean ‘ynf’?
12 | cin >> arr[n + i]=-inf;
| ^~~
| ynf
catlunch.cpp:14:20: error: ‘ni’ was not declared in this scope; did you mean ‘i’?
14 | for(int i = 0;i < ni++){
| ^~
| i
catlunch.cpp:14:24: error: expected ‘;’ before ‘)’ token
14 | for(int i = 0;i < ni++){
| ^
| ;