620 - Cellular Structure
来源:互联网 发布:阿里云已经备案的域名 编辑:程序博客网 时间:2024/06/01 10:21
描述:这道题具体是怎么回事,我也不清楚,先看看这位大神的题解吧http://hi.baidu.com/knowledgetime/item/1e890017baa663fd87ad4eb5#include <cstdio>#include <cstring>int main(){ // freopen("a.txt","r",stdin); int n,len; char s[10010]; while(scanf("%d",&n)!=EOF) for(int i=0; i<n; i++) { scanf("%s",s); len=strlen(s); if(len%2==0) { printf("MUTANT\n"); continue; } if(len==1) { if(s[0]=='A') printf("SIMPLE\n"); else printf("MUTANT\n"); continue; } if(s[len-1]=='B'&&s[len-2]=='A') { printf("FULLY-GROWN\n"); continue; } if(s[0]=='B'&&s[len-1]=='A') { printf("MUTAGENIC\n"); continue; } printf("MUTANT\n"); } return 0;}
- uva 620 Cellular Structure
- UVA 620 Cellular Structure
- 620 - Cellular Structure
- UVa 620 - Cellular Structure
- uva 620 - Cellular Structure
- UVa 620 - Cellular Structure
- Uva-620-Cellular Structure
- uva 620 Cellular Structure
- uva 620 - Cellular Structure
- UVA - 620 Cellular Structure
- UVa:620 Cellular Structure
- uva 620 Cellular Structure
- UVA - 620 Cellular Structure
- UVA 620 Cellular Structure
- UVA 620 - Cellular Structure
- UVA - 620 Cellular Structure
- UVa 620 Cellular Structure
- UVA 620 Cellular Structure
- java中的反射三(反射机制深入---对类的操作)
- java去除字符串中的空格、回车、换行符、制表符
- 51中断详细讲解(转自elec_Dong 的博客)方便自己查询
- Ubuntu下的进行动态链接库创建和使用的方法
- linux中的系统默认文件夹的性质
- 620 - Cellular Structure
- 第五次上机实验报告
- 算法设计与分析基础-6.4、堆和堆排序
- Spring3 MVC 的介绍和使用
- 建造生命的材料
- ASIHttpRequest 本地缓存
- java的23种设计模式
- 两个init方法的区别
- hash_map和map的区别