杭电-2099 整除的尾数
来源:互联网 发布:php就业形势 编辑:程序博客网 时间:2024/05/23 20:59
http://acm.hdu.edu.cn/showproblem.php?pid=2099
#include<stdio.h>int main(){int a,b;int i,c[100];while(~scanf("%d%d",&a,&b),a+b){int cnt=0;for(i=0;i<100;++i){if((a*100+i)%b==0){c[cnt]=i;++cnt;}}for(i=0;i<cnt-1;++i){if(c[i]<10)printf("0%d ",c[i]);elseprintf("%d ",c[i]);}if(c[i]<10)printf("0%d\n",c[i]);else printf("%d\n",c[i]);}return 0;}
0 0
- 杭电ACM 2099 整除的尾数
- 杭电2099之整除的尾数
- 杭电 2099 整除的尾数
- 杭电2099 整除的尾数
- 杭电-2099 整除的尾数
- 杭电ACM 2099:整除的尾数
- 杭电OJ--2099 整除的尾数
- 【杭电】[2099]整除的尾数
- 杭电2099-整除的尾数
- 【杭电2099】整除的尾数
- 杭电2099:整除的尾数
- 整除的尾数 【杭电-2099】 附题
- 杭电acm第2099题整除的尾数
- 【杭电oj】2099 - 整除的尾数(枚举)
- 2099 整除的尾数
- 【2099 整除的尾数】
- 2099 整除的尾数
- 2099:整除的尾数
- Vijos 1925 老爷爷与老奶奶
- Vijos 1932 重要的誓言
- 杭电-2051 Bitset
- NOIP 2014 提高组 Day2 T2 寻找道路
- 四,从头到尾在myeclipse中的java开发环境搭建之SQLServer2000数据库的安装
- 杭电-2099 整除的尾数
- NOIP 2014 提高组 Day2 T1 无线网路发射器选址
- POJ 1001 Exponentiation
- POJ 1002 487-3279
- C#设计模式(十三)迭代器模式
- POJ 1003 Hangover
- 用 Tomcat 和 Eclipse 开发 Web 应用程序
- POJ 1004 Financial Management
- POJ 1005 I Think I Need a Houseboat