Problem summit
User Haocheng
Submission Time 2024-11-12 16:12:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summit.cpp: In function ‘int main()’:
summit.cpp:17:26: error: expected ‘)’ before numeric constant
17 | while(curr<m and mid/cd 1=0){
| ~ ^~
| )
summit.cpp:17:29: error: lvalue required as left operand of assignment
17 | while(curr<m and mid/cd 1=0){
| ^
summit.cpp: At global scope:
summit.cpp:34:1: error: expected declaration before ‘}’ token
34 | }
| ^