Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Python solution for
A. Team
watermelon
problem
Difference between en1 and en2, changed 13 character(s)
for i in range(int(input())):↵
w = input()↵
if len(w) <= 10:↵
print(w)↵
else:↵
print(w[0] + str(len(w) — 2) + w[-1])
Compare Revisions
History
Revisions
Rev.
Lang.
By
When
Δ
Comment
en2
A-R
2020-11-22 23:15:43
13
en1
A-R
2020-11-22 23:13:29
164
Initial revision (published)
→ Pay attention
Before contest
Codeforces Round (Div. 1 + Div. 2)
47:52:03
Register now »
*has extra registration
→ Top rated
#
User
Rating
1
t
ourist
3690
2
j
iangly
3647
3
B
enq
3581
4
o
rzdevinwang
3570
5
G
eothermal
3569
5
c
nnfls_csy
3569
7
R
adewoosh
3509
8
e
cnerwala
3486
9
j
qdai0815
3474
10
g
yh20
3447
Countries
|
Cities
|
Organizations
View all →
→ Top contributors
#
User
Contrib.
1
maomao90
172
2
adamant
164
3
awoo
163
4
TheScrasse
160
5
nor
157
6
m
aroonrk
155
7
-is-this-fft-
152
8
P
etr
146
9
orz
145
9
pajenegod
145
View all →
→ Find user
Handle:
→ Recent actions
Vladosiya
→
Codeforces Round #946 (Div. 3)
valolagena
→
50/60 Practice strategy !
Temirulan
→
ICPC Alumni Event in Sillicon Valley 2024
codingp110
→
Help required on a dp problem
prvocislo
→
Editorial for Codeforces Round #945 (Div. 2)
ICPCNews
→
The 2023 Post World Finals Online ICPC Challenge powered by Huawei
Sparsely
→
Please help!
copyPasteCoder
→
Same submission once giving TLE and once accepted
Ulissao
→
Finally Green
ZeoCool
→
JBOI 2024
andr1y
→
Ukrainian Teams on EGOI and EJOI
RD_TheCoder
→
Replay of ICT Division presents – 7th DRMC International Tech Carnival 2024 Programming Contest
AquaMoon
→
Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
M0stafa
→
Suggest me some good Dp Problem list
saar2119
→
unordered_map vs map in C++ — Complexity Analysis
Kuber
→
Practicing 1500 rated problems
Vladosiya
→
Codeforces Round #946 (Div. 3) Editorial
IanDeHaan
→
Teams Going to the 2024 ICPC North America Championship
tallnut_liu
→
(Plenty of) useful blogs in CodeForces
deified
→
I reached Specialist
NeroZein
→
[Discussion Thread] APIO 2024
thirdparty
→
Making your Sublime Text fonts look better on Windows
MikeMirzayanov
→
Rule about third-party code is changing
adamant
→
adamant interview on Shayan channel
JahonaliX
→
Why my rating decreased?
Detailed →
User lists
Name