| Problem | mountainjourney2 |
|---|---|
| User | ptk8627 |
| Submission Time | 2026-06-27 13:12:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mountainjourney2.cpp: In lambda function:
mountainjourney2.cpp:17:8: error: expected ‘{’ before ‘=’ token
17 | [pos] = 1;
| ^
mountainjourney2.cpp: In function ‘bool check(long long int)’:
mountainjourney2.cpp:17:10: error: no match for ‘operator=’ (operand types are ‘check(long long int)::<lambda()>’ and ‘int’)
17 | [pos] = 1;
| ^
mountainjourney2.cpp:17:6: note: candidate: ‘check(long long int)::<lambda()>& check(long long int)::<lambda()>::operator=(const check(long long int)::<lambda()>&)’ <deleted>
17 | [pos] = 1;
| ^
mountainjourney2.cpp:17:6: note: no known conversion for argument 1 from ‘int’ to ‘const check(long long int)::<lambda()>&’
mountainjourney2.cpp: In lambda function:
mountainjourney2.cpp:22:10: error: expected ‘{’ before ‘=’ token
22 | [next] = 1;
| ^
mountainjourney2.cpp: In function ‘bool check(long long int)’: