POJ 1006 Biorhythms [中国剩余定理] 超短代码
中国剩余定理模板题,线下算出23,28,33的同余有奇效。#include<cstdio>
int main(){
for(int p,e,i,d,count=1;scanf("%d%d%d%d",&p,&e,&i,&d)!=EOF&&p!=-1&&e!=-1&&i!=-1&&d!=-1;count++)
printf("Case %d: the next triple pe
原创
2017-07-15 21:05:04 ·
430 阅读 ·
0 评论