#732. attention 2
attention 2
当前没有测试数据。
Background
attention is all you need
Description
LargeRice16pro 在跑 50m,从位置 0 出发跑到位置 n+1。
Fantasy_Blue 看到了,他不想 LargeRice16pro 太快结束,于是使用魔法放置了 组传送门,每组传送门有两扇门,若第 组传送门位于位置 和位置 ,,那么 LargeRice16pro 跑到位置 时,会被传送到 ,跑到 时会被传送到 (传送门不会连续触发,传送到 后,不会立刻传送到 )。
但是 Fantasy_Blue 一开始睡着了,当他想起来放置传送门时,LargeRice16pro 已经跑到位置 了,请问此时 Fantasy_Blue 有多少种放置传送门的方式,使得 LargeRice16pro 会跑不少于 100m 的距离。
Format
Input
Two integers x and y, satisfying .
Output
One integer, the sum of x and y.
Samples
123 500
623
Limitation
1s, 1024KiB for each test case.