Problem duckwander
User noob41
Submission Time 2023-11-08 18:14:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckwander.cpp: In function ‘int32_t main()’:
duckwander.cpp:6:7: error: ‘str’ was not declared in this scope; did you mean ‘std’?
6 | pair<str,int> coor;
| ^~~
| std
duckwander.cpp:6:14: error: template argument 1 is invalid
6 | pair<str,int> coor;
| ^
duckwander.cpp:29:7: error: expected primary-expression before ‘]’ token
29 | ]
| ^
duckwander.cpp:31:3: error: expected ‘}’ before ‘else’
31 | else if(v2[i]=="DOWN"){
| ^~~~
duckwander.cpp:26:18: note: to match this ‘{’
26 | if(v2[i]=="UP"){
| ^