【文件属性】:
文件名称:C++ HDU 2000
文件大小:480B
文件格式:CPP
更新时间:2021-10-05 10:01:56
HDU
#include
using namespace std;
int main(){
char a[2];
while(cin>>a){
int temp;
for(int i=0; i<3; i++)
for(int j=0;j<3-i-1;j++)
if(a[i]>a[i+1])
{
temp=a[i];
a[i]=a[i+1];
a[i+1]=temp;
}
if(a[0]>a[1]){
temp=a[1];
a[1]=a[0];
a[0]=temp;
}
cout<
立即下载