H. 石子游戏(初级)

    Type: Default 1000ms 256MiB

石子游戏(初级)

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.

的的现在有n颗石头a先取,b后取每次最多取2个,最少1个。

拿到最后一个的人赢

问 a能不能赢。能输出1,不能输出0; 0<n<25

Format

Samples

2
1

Limitation

1s, 1024KiB for each test case.

校赛新手热身(一)

Not Attended
Status
Done
Rule
XCPC
Problem
8
Start at
2026-10-31 14:30
End at
2026-11-6 20:30
Duration
150 hour(s)
Host
Partic.
77