Problem treecutting
User JAYLIU
Submission Time 2024-02-17 17:15:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int main()’:
treecutting.cpp:8:20: error: expected ‘;’ before ‘)’ token
8 | for (n, 0 < n, n--) {
| ^
| ;
treecutting.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^
treecutting.cpp:18:36: error: expected ‘)’ before ‘}’ token
18 | std::cout << highway << std::endl;
| ^
| )
19 | }
| ~
treecutting.cpp:8:6: note: to match this ‘(’
8 | for (n, 0 < n, n--) {
| ^
treecutting.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^