Problem | woodcutter |
---|---|
User | yc |
Submission Time | 2025-06-06 09:54:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
woodcutter.cpp:30:17: error: stray ‘\’ in program
30 | h1.insert(X\Y);
| ^
woodcutter.cpp:6:9: error: template argument 1 is invalid
6 | set<int h1;
| ^~
woodcutter.cpp:6:9: error: template argument 2 is invalid
woodcutter.cpp:6:9: error: template argument 3 is invalid
woodcutter.cpp: In function ‘void init(int, int)’:
woodcutter.cpp:11:2: error: ‘h1’ was not declared in this scope; did you mean ‘w1’?
11 | h1 = {H};
| ^~
| w1
woodcutter.cpp:12:2: error: ‘w2’ was not declared in this scope; did you mean ‘w1’?
12 | w2 = 0;
| ^~
| w1
woodcutter.cpp:13:2: error: ‘h2’ was not declared in this scope; did you mean ‘h’?
13 | h2 = 0;
| ^~
| h
woodcutter.cpp: In function ‘long long int horizontal_cut(int)’:
woodcutter.cpp:17:2: error: ‘w2’ was not declared in this scope; did you mean ‘w1’?
17 | w2 = 0;
| ^~