简写字符串题解查无此人2026-04-14 20:30:27发布于:湖北0阅读0回复0点赞#include<bits/stdc++.h> using namespace std; int main(){ string a; cin>>a; int b=a.size(); if(b<=10)cout<<a; else cout<<a[0]<<b-2<<a[b-1]; return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个