嗯嗯!AC嘟嘟!无语的大🐷2026-11-02 18:24:45发布于:浙江4阅读0回复0点赞关注哦哦!!! ~~ #include<iostream> using namespace std; int main(){ string s; cin>>s; int x=s.size(); if(x<=10)cout<<s; else cout<<s[0]<<x-2<<s[x-1]; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个