Q. 土拨鼠小利
土拨鼠小利
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Background
土拨鼠小利想去上厕所,但老师不让去 智商120(满分1000)的土拨鼠小利决定偷偷去,但厕所周围有保安把守,但这可难不住我们聪明的小利,他带了D(1<=d<=100)包利群香烟,用来孝敬保安,每个保安只能看到他上、下、左、右四个位置,当保安收到利群时,他便不再看,给出边长n(1<=n<=100),给出保安的坐标x,y(1<=x,y<=100),如果小利能成功躲避,输出YES,然后输出剩下的香烟数量,如果无法躲避,输出NO。
Format
Input
Two integers x and y, satisfying .
Output
One integer, the sum of x and y.
Samples
你猜?
你猜?
Limitation
1s, 1024KiB for each test case.
666
- Status
- Done
- Rule
- XCPC
- Problem
- 88
- Start at
- 2026-6-14 17:30
- End at
- 1970-1-1 8:00
- Duration
- -494841.5 hour(s)
- Host
- Partic.
- 0