71A Way Too Long Words
来源:互联网 发布:weka 删除数据 编辑:程序博客网 时间:2024/04/30 03:05
#include <cmath>#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#include <string>#include <algorithm>using namespace std;int main() { //freopen("aa.in", "r", stdin); int n; string str; cin >> n; while(n--) { cin >> str; int len = str.length(); if(len > 10) { printf("%c%d%c\n", str[0], len - 2, str[len-1]); } else { cout << str << endl; } } return 0;}
0 0
- CF:71A.Way Too Long Words
- CodeForces-71A-Way Too Long Words
- CF#71A Way Too Long Words
- 71A - Way Too Long Words
- 71A Way Too Long Words
- CodeForces 71A Way Too Long Words
- codeforces 71A. Way Too Long Words
- codeforces 71A Way Too Long Words
- 71A. Way Too Long Words
- A. Way Too Long Words
- codeforces 71A Way Too Long Words(水题)
- Problem--71A--Codeforces--Way Too Long Words
- CodeForces.71A Way Too Long Words (水模拟)
- CodeForces 71 A.Way Too Long Words(水~)
- 【String】#65 A. Way Too Long Words
- 【CodeForces】A. Way Too Long Words
- Way Too Long Words
- codeforces Way Too Long Words
- wix toolset安装包丢失文件
- git 常用指令
- 158A Next Round
- Android Studio项目中导入第三方类库工程
- mongodb入门笔记
- 71A Way Too Long Words
- centos 6.5下安装rstudio server【总结】
- POJ 1873 凸包+枚举
- 118A String Task
- ubuntu9.10没有/etc/grub.conf文件
- Android ViewPager实现引导页
- 50A Domino piling
- Error converting document: task did not complete within timeout解决方法
- 【代码积累】JAVA读某文件夹下所有txt类型文件