题意/题解:大水题,不想说了。
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
1 #include<cstdio> 2 #include<cstring> 3 using namespace std; 4 int main() 5 { 6 int ca=0,n; 7 while(scanf("%d",&n),n) 8 printf("%d. %s %d\n",++ca,(n%2==0)?"even":"odd",(3*n+1)/2/3); 9 return 0; 10 }
tmeteorj
Nothing is so big that it is impossible to get over, and hurt only serves to make us stronger.
没有什么事是大到无法战胜的,痛苦也只会让我们变得更加坚强。
|
|
|