Because you are so dalao
by YLWang @ 2018-07-05 19:51:07
@[破壁人四号](/space/show?uid=55078) ???woc
by 为依相逢 @ 2018-10-07 13:37:42
```cpp
#include<iostream>
#include<cstdio>
#include<string.h>
#include<cmath>
#include<map>
using namespace std;
char s[100001],a[7];
bool bj()
{
for (int j=0;j<6;j++) if (a[j]!=s[j]) return false;
return true;
}
int main()
{
int sum=0,i;
cin>>s;
if (strlen(s)>6)
{
cout<<0;
return 0;
}
int len=strlen(s);
for (i=0;i<(len+1)/2;i++)
{
char t=s[i];
s[i]=s[len-i-1];
s[len-i-1]=t;
}
for (i=0;i<len;i++)
a[i]='a'-1;
while (!bj())
{
a[0]++;
i=0;
while (a[i]>'z')
{
a[++i]++;
}
for (int j=i-1;j>=0;j--) a[j]=a[j+1]+1;
sum++;
}
cout<<sum;
return 0;
}
```
重码了一遍。。。然后。。。30
by 为依相逢 @ 2018-10-07 13:38:19
tql,我都不会……
by Lisbeth_Rivaille @ 2018-10-07 14:21:02
@[待捕捉蒟蒻QvvQ](/space/show?uid=123634) ???不信。。。
by 为依相逢 @ 2018-10-07 14:29:59
毕竟十香
by 为依相逢 @ 2018-10-07 14:31:11