题目链接 A. Pineapple Incident(Codeforces 697A) 思路 由于菠萝乱叫的时间点满足 t+p×s t + p \times s 或 t+q×s+1 t + q \times s + 1 ,其中 p≥0,q>0 p \geq 0,q > 0 。先判断 x=t x = t 和 x=t+1 x = t + 1 是否满足 ,如果不满足的话,我们就可以将
D. Puzzles time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Barney lives in country USC (United States of Charzeh). USC h