社区讨论

markdown?

CF1791B Following Directions参与者 2已保存回复 2

讨论操作

快速查看讨论及其快照的属性,并进行相关操作。

当前回复
2 条
当前快照
1 份
快照标识符
@lo20x0xm
此快照首次捕获于
2023/10/23 06:11
2 年前
此快照最后确认于
2023/11/03 06:34
2 年前
查看原帖
RT,说明提示部分。。。 @小粉兔
CPP
In the first test case, Alperen follows the path 
$$(0,0) \overset{\texttt{U}}{\to} (0,1) \overset{\texttt{U}}{\to} (0,2) \overset{\texttt{U}}{\to} (0,3) \overset{\texttt{R}}{\to} (1,3) \overset{\texttt{D}}{\to} (1,2) \overset{\texttt{D}}{\to} \color{green}{\mathbf{(1,1)}} \overset{\texttt{L}}{\to} (0,1). 
Note that Alperen doesn't need to end at the candy's location of 
(
1
,
1
)
(1,1) , he just needs to pass it at some point.</p><p>In the second test case, Alperen follows the path 
(0,0) \overset{\texttt{U}}{\to} (0,1) \overset{\texttt{R}}{\to} \color{green}{\mathbf{(1,1)}}. 
</p><p>In the third test case, Alperen follows the path 
(0,0) \overset{\texttt{R}}{\to} (1,0) \overset{\texttt{R}}{\to} (2,0) \overset{\texttt{R}}{\to} (3,0) \overset{\texttt{U}}{\to} (3,1) \overset{\texttt{U}}{\to} (3,2) \overset{\texttt{D}}{\to} (3,1) \overset{\texttt{D}}{\to} (3,0) \overset{\texttt{D}}{\to} (3,-1). 
</p><p>In the fourth test case, Alperen follows the path 
(0,0) \overset{\texttt{L}}{\to} (-1,0) \overset{\texttt{L}}{\to} (-2,0) \overset{\texttt{L}}{\to} (-3,0). 
$$

回复

2 条回复,欢迎继续交流。

正在加载回复...