会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ekinzhang
| |
新随笔
|
新文章
| |
订阅
|
管理
2015年2月28日
Uva 10340 All in All
摘要: #include #include char s[100005],t[100005];int main(){ int yes, n = 0; while(scanf("%s%s",s,t)==2) { yes = 1; n = 0; for...
阅读全文
posted @ 2015-02-28 21:05 ekinzhang
阅读(56)
评论(0)
推荐(0)
编辑
Uva 202 Repeating Decimals
摘要: 关键是判断循环的长度,若某一步的余数已出现过,则循环确定#include #include int s[10000], y[10000],sign[10000];int main(){ int a, b, sz, yu, k , cnt; while(scanf("%d%d",&a,&b...
阅读全文
posted @ 2015-02-28 20:44 ekinzhang
阅读(130)
评论(0)
推荐(0)
编辑