Problem housing
User yakjunle
Submission Time 2024-04-28 09:09:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

housing.cpp:3:12: error: stray ‘\342’ in program
3 | if ( n < 2∗k ) return 1;
| ^
housing.cpp:3:13: error: stray ‘\210’ in program
3 | if ( n < 2∗k ) return 1;
| ^
housing.cpp:3:14: error: stray ‘\227’ in program
3 | if ( n < 2∗k ) return 1;
| ^
housing.cpp:6:24: error: stray ‘\342’ in program
6 | result += options ( n−i , i );
| ^
housing.cpp:6:25: error: stray ‘\210’ in program
6 | result += options ( n−i , i );
| ^
housing.cpp:6:26: error: stray ‘\222’ in program
6 | result += options ( n−i , i );
| ^
housing.cpp: In function ‘int options(int, int)’:
housing.cpp:3:12: error: expected ‘)’ before ‘k’
3 | if ( n < 2∗k ) return 1;
| ~ ^ ~
| )
housing.cpp:6:24: error: expected ‘)’ before ‘i’