#1813. 土拨鼠辰辰
土拨鼠辰辰
No testdata at current.
辰辰每天都有一个幸运数字A,第i天的幸运数字为A[i]。如果今天的幸运数字与昨天的幸运数字相差不超过3,且它的平方-1为质数,则今天就会倒霉。请帮他判断一下他今天会倒霉吗。
No testdata at current.
辰辰每天都有一个幸运数字A,第i天的幸运数字为A[i]。如果今天的幸运数字与昨天的幸运数字相差不超过3,且它的平方-1为质数,则今天就会倒霉。请帮他判断一下他今天会倒霉吗。
By signing up a acjudge universal account, you can submit code and join discussions in all online judging services provided by us.