题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1279

 #include<stdlib.h>
#include<time.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include <string>
using namespace std; int main()
{
int num,n,flag;
cin>>num;
while(num--)
{
cin>>n;
flag=;
while(n!=)
{
if(n% == )
{
n=n/;
} else
{
if(flag != )
printf(" ");
printf("%d",n);
n=n*+;
flag++;
} }
if(flag == )
printf("No number can be output !");
printf("\n");
}
return ;
}

最新文章

  1. 跟着老男孩教育学Python开发【第三篇】:Python函数
  2. 严重: Error starting static Resources java.lang.IllegalArgumentException:
  3. 使用SerialPort&#160;读取外置GPS信息和使用GeoCoordinateWatcher获取内置gps的信息
  4. IOS URL 编码和解码
  5. 快速理解C#高级概念(一) Delegate委托
  6. 安装虚拟机VMware tools
  7. IOS常用的系统文件目录介绍
  8. oracle命令识记
  9. leetcode 138. Copy List with Random Pointer ----- java
  10. java实现DES算法
  11. String.IsNullOrWhiteSpace和String.IsNullOrEmpty的区别
  12. jQuery运维开发之第十七天
  13. codevs 1047 邮票面值设计
  14. MongoDB用户
  15. NopCommerce添加事务机制
  16. vue-router 通过路由来实现切换头部标题
  17. python中的GIL详解
  18. pc端字体大小计算以及echart中字体大小计算
  19. TCO 2015 1A Hard.Revmatching(Hall定理)
  20. id: cannot find name for user ID xxx处理办法

热门文章

  1. DEV控件Grid显示行号
  2. Unable to add window -- token null is not for an application
  3. explicit,violate,volatile,mutable小结
  4. django formset bug?
  5. 获取编辑框字符串,传入Intent
  6. ubuntu dhcp修改ip地址
  7. document.documentElement.scrollTop || document.body.scrollTop
  8. 解决IDEA自动重置LanguageLevel和JavaCompiler版本的问题
  9. ios UIButton shadowcolor 导致黑边问题
  10. C# 对象实例几种方法