POJ-1006 Biorhythms (中国剩余定理)
来源:互联网 发布:杨丽音 知乎 编辑:程序博客网 时间:2024/04/29 16:52
http://poj.org/problem?id=1006
#include<cstdio>int main(){ int p,e,i,d; int ct=1; while(scanf("%d%d%d%d",&p,&e,&i,&d)!=EOF){ if(e==-1)break; long long ans=(p*5544+e*14421+i*1288+21252-d)%21252; if(ans==0)ans=21252; printf("Case %d: the next triple peak occurs in %I64d days.\n",ct++,ans); } return 0;}
0 0
- poj 1006 Biorhythms(中国剩余定理)
- POJ 1006 Biorhythms(中国剩余定理)
- poj 1006 Biorhythms 中国剩余定理
- POJ 1006 Biorhythms 中国剩余定理
- POJ 1006 Biorhythms 中国剩余定理
- POJ 1006 Biorhythms (中国剩余定理)
- POJ 1006 Biorhythms 中国剩余定理
- poj 1006 Biorhythms 中国剩余定理
- Biorhythms(poj 1006)(中国剩余定理)
- POJ 1006 Biorhythms 中国剩余定理
- POJ 1006---Biorhythms【中国剩余定理】
- poj 1006 Biorhythms 中国剩余定理
- POJ - 1006 Biorhythms (中国剩余定理)
- POJ 1006 Biorhythms 【中国剩余定理】
- POJ-1006-Biorhythms(中国剩余定理)
- POJ 1006 Biorhythms(中国剩余定理)
- POJ 1006 Biorhythms(中国剩余定理)
- POJ 1006 Biorhythms(中国剩余定理)
- nginx1.9+tomcat配置
- Eclipse将引用了第三方jar包的Java项目打包成jar文件的两种方法
- 自定义倒计时TextView控件
- GenericServlet为什么有两个init方法
- 瀑布流demo(完美注释)
- POJ-1006 Biorhythms (中国剩余定理)
- SAT数学考题知识范围增量分析
- 数据结构存储的顺序和链式对比
- Comparable接口的实现和使用
- Intellij IDEA设置忽略部分类编译错误
- Spring中Adivisor和Aspect的区别(自我理解)
- Android 环境配置
- 在Unity3D里使用DLL
- 十大推送方式整理