没办法 我想在t解找找思路 然后找到思路就自己写了
于是 TLE大礼包
有没有大神帮我康康啊。。。。。样例没问题了。。
(沙发?)
#include<bits/stdc++.h>
using namespace std;
int main(){
int y=0;
int a[8];
for(int i=1;i<=8;i++){
cin>>a[i];
y=y*10+a[i];
}
if(y==12345678) cout<<"ascending";
else if(y==87654321) cout<<"descending";
else cout<<"mixed";
return 0;
}