hdu 1062 Text Reverse
来源:互联网 发布:淘宝店铺装修教学视频 编辑:程序博客网 时间:2024/04/27 16:26
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1062
#include<stdio.h>#include<string.h>int main(){ int T; scanf("%d",&T); getchar(); while(T--) { char s[1010]; gets(s); int len=strlen(s),i,j; for(i=0;i<=len;i++) { if(s[i]==' '||s[i]=='\0') { for(j=i-1;j>=0;j--) { if(s[j]==' ') break; printf("%c",s[j]); } if(s[i]==' ') printf(" "); else printf("\n"); } } } return 0;}
- hdu 1062 Text Reverse
- hdu 1062 Text Reverse
- HDU 1062 TEXT REVERSE
- Hdu 1062 - Text Reverse
- hdu 1062 Text Reverse
- HDU 1062 Text Reverse
- hdu 1062 Text Reverse
- HDU 1062 Text Reverse
- HDU 1062 - Text Reverse
- hdu 1062 Text Reverse
- hdu 1062 Text Reverse
- Text Reverse(hdu 1062)
- hdu 1062 Text Reverse
- HDU 1062 Text Reverse
- hdu 1062 text reverse
- HDU 1062 Text Reverse
- HDU 1062 Text Reverse
- hdu 1062 Text Reverse
- Delphi数据库技术中Disablecontrols和Enablecontrols的功能
- 腾讯面试题:根据上排给出的十个数,在其下排填出对应的十个数。
- Java泛型
- 黑马程序员:Java基础之选择排序
- 堆排序法
- hdu 1062 Text Reverse
- windows phone开发之json解析篇
- linux常用的几个命令讲解
- Hadoop完全分布式模式的安装和配置
- C#关于从DataTable里面取数据并且用TreeView控件显示(类似QQ好友一样,有图)
- 存储容量的介绍
- Matlab中的滤波器设计
- PLL_clock_configration
- hdu 2608 0 or 1