ZSTUOJ 4266 回文
来源:互联网 发布:淘宝店铺转化率低怎么办 编辑:程序博客网 时间:2024/06/08 03:13
//AC
#include <iostream>#include <cstdlib>#include <stdio.h>#include <algorithm>#include <math.h>#include <string.h>#include <queue>#include <stack>#include <vector>#include <map>#include <set>#include <ctype.h>using namespace std;int main(){ int t; char s[50010]; scanf("%d",&t); for(int i=1;i<=t;i++) { scanf("%s",s); if(strlen(s)<=2){printf("NO\n");} else{ if(s[0]==s[strlen(s)-1]){printf("YES\n");} else{printf("NO\n");} } } return 0;}
0 0
- ZSTUOJ 4266 回文
- zstuoj 4355
- String Game【ZSTUOJ--4212】
- Jug Hard【ZSTUOJ--4216】
- ZSTUOJ 4215 Landlocked
- ZSTUOJ 4212 String Game
- zstuoj 4243 牛吃草
- zstuoj 4246 萌新吃果果
- zstuoj 4243 牛吃草
- zstuoj 4274 约素
- zstuoj 4269 买iphone
- zstuoj 4270: 同源数
- ZSTUOJ 4273: 玩具
- ZSTUOJ 4270: 同源数
- ZSTUOJ 4362:不要方
- zstuoj 2853 算术表达式 模拟
- zstuoj 4242 校庆 4244 众数
- zstuoj 4248 KI的目标
- Android NDK(四):JNI 数组
- Jenkins2.32.3+Git+Maven+Tomcat+Ubuntu Linux
- 注解式开发-Hibernate基本注解
- Screen.SetResolution 设置分辨率
- DialogFragment开发那点事
- ZSTUOJ 4266 回文
- map order by value
- 解密---全排列
- Ubuntu14.04 更新源
- linux 文件压缩与解压缩
- 对值栈放数据和对象
- 关于Vue背景图打包之后访问路径错误问题
- Qt事件类 QEvent
- 微信的企业号开发流程