hdoj no.2000
来源:互联网 发布:curl for windows 编辑:程序博客网 时间:2024/05/17 23:08
#include<stdio.h>int main(void){ char ch[10],temp; int i,j,input; input=scanf("%c%c%c",&ch[1],&ch[2],&ch[3]); while(input!=EOF) { for( i=1;i<=2;i++){ for(j=i+1;j<=3;j++){ if(ch[i]>ch[j]){ temp=ch[i];ch[i]=ch[j];ch[j]=temp; } } } printf("%c %c %c\n",ch[1],ch[2],ch[3]); scanf("%c",&ch[0]); input=scanf("%c%c%c",&ch[1],&ch[2],&ch[3]); }}
阅读全文
0 0
- hdoj no.2000
- hdoj no.1000
- hdoj no.1002
- hdoj no.2001
- hdoj no.2002
- hdoj no.2003
- hdoj no.2004
- hdoj no.2005
- hdoj no.2006
- hdoj no.2007
- hdoj no.2008
- hdoj no.2009
- HDOJ 4630 No Pain No Game
- hdoj 3863 No Gambling 【博弈】
- HDOJ 题目1269No Gambling(博弈)
- [HDOJ 4900] NO ACM NO LIFE [树的直径]
- 【线段树】 HDOJ 4630 No Pain No Game
- hdoj 2000
- Ubuntu阿里云源
- 用python作图
- 15 个必须知道的 Chrome 开发工具技巧
- pyqt 圆形按钮
- 无题
- hdoj no.2000
- H5实现调用本地摄像头实现实时视频以及拍照功能
- APP电量测试这样做。
- JAVA基础学习20171109-循环结构
- C语言程序-递归方式实现打印一个整数的每一位
- 快速排序分析
- pyqt 文件对话框记住上次选择
- mysql集群搭建部署
- [面试] BFS、Dijstra、SPFA、Floyd求最短路的比较