摘要: http://codeforces.com/problemset/problem/118/A 1 #include 2 #include 3 #include 4 using namespace std; 5 string a; 6 queueb; 7 bool is_vowel(char aa) 8 { 9 if(aa=='a' || aa=='e' || aa=='i' || aa=='o' || aa=='u' ||aa=='y'||aa=='A' || aa=='E& 阅读全文
posted @ 2013-08-12 23:05 JKXQJ 阅读(507) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/71/A 1 #include 2 #include 3 using namespace std; 4 string a; 5 int main() 6 { 7 int n; 8 cin>>n; 9 for(int i=0;i>a;12 if(a.length()>10)13 cout<<a[0]<<a.length()-2<<a[a.length()-1]<<endl;14 else15 cout<<a<... 阅读全文
posted @ 2013-08-12 22:30 JKXQJ 阅读(242) 评论(0) 推荐(0) 编辑