怎么解决Output Limit Exceeded
提交时会出现Output Limit Exceeded要怎么解决呢?就下面这个代码
#include "stdafx.h"
#include<iostream>
using namespace std;
int main()
{
char a,b,c,t;
while(1)
{
cin>>a>>b>>c;
if(a>b)
{
t=a;a=b;b=t;
}
if(a>c)
{
t=a;a=c;c=t;
}
if(b>c)
{
t=b;b=c;c=t;
}
cout<<a<<" "<<b<<" "<<c<<endl;
a=b=c='\0';
}
return 0;
}