Problem leastround
User Pan
Submission Time 2024-08-16 18:01:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leastround.cpp: In function ‘int main()’:
leastround.cpp:81:18: error: ‘x1’ was not declared in this scope; did you mean ‘x’?
81 | for (ll i=0; i<x1; ++i) cout << 'D';
| ^~
| x
leastround.cpp:82:18: error: ‘y2’ was not declared in this scope; did you mean ‘yn’?
82 | for (ll i=0; i<y2; ++i) cout << 'R';
| ^~
| yn
leastround.cpp:83:20: error: ‘x1’ was not declared in this scope; did you mean ‘x’?
83 | for (ll i=0; i<n-x1-1; ++i) cout << 'D';
| ^~
| x
leastround.cpp:84:20: error: ‘y2’ was not declared in this scope; did you mean ‘yn’?
84 | for (ll i=0; i<n-y2-1; ++i) cout << 'R';
| ^~
| yn