s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s164416332
p03636
u480038302
1583362304
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a = input() b = len(a) print(a[0]+(b-2)+a[b-1])
s643294750
p03636
u863442865
1582988275
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
s = input() print('{}{}{}'.format(s[0], len(s)-2, s[-1])
s466360924
p03636
u857330600
1582947156
Python
Python (3.4.3)
py
Runtime Error
16
2940
70
s=str(input()) l=str(len(s)) list=[s[0],l,s[l-1]] print(''.join(list))
s688051540
p03636
u857330600
1582947124
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
x=str(input()) l=str(len(s)) list=[s[0],l,s[l-1]] print(''.join(list))
s374908671
p03636
u857330600
1582947089
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
x=str(input()) l=len(s) list=[s[0],l,s[l-1]] print(''.join(list))
s989963676
p03636
u744034042
1582764533
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
print(input()[0] + str(len(input()) - 2) + input()[len(input()) -1])
s116984096
p03636
u934868410
1582737665
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
s = input() print('{}{}{}'.format(s[0], len(s)-1, s[-1])
s476594646
p03636
u170183831
1582494952
Python
Python (3.4.3)
py
Runtime Error
19
2940
46
s = input() print(s[0] + (len(s) - 2) + s[-1])
s069370761
p03636
u066855390
1582494147
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
h,*b,t = input() print(h+str(len(b))+t
s491741668
p03636
u607074939
1582250951
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
s = str(input()) print(s[0] + str(s.size()-2) + s[-1])
s063056211
p03636
u904995051
1581834526
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
a,*b,c = input() print(a+string(len(b))+c)
s394532857
p03636
u904995051
1581834502
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
a,*b,c = input() print(a+string(b)+c)
s902341214
p03636
u904995051
1581834458
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
a,*b,c = input() print(a+len(b)+c)
s540189633
p03636
u757030836
1581809023
Python
Python (3.4.3)
py
Runtime Error
19
2940
73
s = input() a = s[0] b =len( s[1:len(s)-1]) c = s[len(s)] print(a+b+c)
s585298979
p03636
u757030836
1581808919
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
s = input() a = s[1] b =len( s[2:len(s)-1]) c = s[-1] print(a+b+c)
s516674911
p03636
u133936772
1581602527
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s = input() print(l[0]+str((len(l)-2))+l[-1])
s714177252
p03636
u368796742
1581524140
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
l = list(input()) print("{}{}{}".format(l[0],len(l)-2,l[-1])
s716493020
p03636
u361826811
1580400945
Python
Python (3.4.3)
py
Runtime Error
18
3064
268
""" author : halo2halo date : 29, Jan, 2020 """ import sys import itertools # import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines S = readline().decode('utf8') print(S[0]+len(S[1:-1])+S[-1])
s896295406
p03636
u123745130
1580195344
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
a,*b,c=input() print(a+str(len(*b))+c)
s913144447
p03636
u329049771
1580153063
Python
Python (3.4.3)
py
Runtime Error
17
2940
158
S = input() num = 0 for s in S: if s == S[0]: print(s) elif s == S[len(S)-1]: print(s) elif s == S[len(S)-2]: print num else: num += 1
s291580287
p03636
u414458988
1580149113
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
41
a, b*, c = input() print(a+str(len(b))+c)
s971824306
p03636
u589843455
1580048476
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38704
40
a,*b,c = intput() print(a+str(len(b))+c)
s650534915
p03636
u223555291
1579836454
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a=list(input()) c=[] g=0 c=a.reverse() print(a[0]+str(len(a)-1)+c[0])
s509327319
p03636
u223555291
1579834492
Python
Python (3.4.3)
py
Runtime Error
17
3060
95
a=list(input()) c=reverse(a) b=a.index(a[0]) d=c.index(c[0]) g=b-d g-=1 print(a[0]+str(g)+c[0])
s036754848
p03636
u344959886
1579628713
Python
PyPy2 (5.6.0)
py
Runtime Error
34
27884
47
s=input() n=len(s)-2 print(s[:1]+str(n)+s[-1:])
s991273727
p03636
u247366051
1579518654
Python
Python (2.7.6)
py
Runtime Error
11
2568
159
#include <bits/stdc++.h> using namespace std; string s; int main() { cin >> s; cout << s[0] << s.size() - 2 << s[s.size() - 1] << endl; return 0; }
s493047051
p03636
u686036872
1578800429
Python
Python (3.4.3)
py
Runtime Error
18
2940
46
s=str(input()) print(s[0]+int(len(s)-2)+s[-1])
s841215265
p03636
u686036872
1578800199
Python
Python (3.4.3)
py
Runtime Error
18
2940
42
s=list(input()) print(s[0]+len(s-2)+s[-1])
s904035793
p03636
u506287026
1578772976
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
s = input() print(s[0] + len(s[1:-1]) + s[-1])
s946186436
p03636
u972892985
1577128460
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
s = input() print(s[0]+s.count()+s[-1])
s129266631
p03636
u112623731
1576882604
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
s = len(input())-2 print(f'i{s}n')
s737261089
p03636
u311669106
1576609793
Python
Python (3.4.3)
py
Runtime Error
23
2940
48
print(input()[0]+len(input()[1:-1])+input()[-1])
s543925487
p03636
u417014669
1576590253
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
word=str(iinput) print(woed[0]+str(len(word)-2)+word[-1])
s099433438
p03636
u311669106
1576521453
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
s=input() l=str((len(s)-2) print(s[0]+l+s[-1])
s088486358
p03636
u311669106
1576521411
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s=input() l=int(len(s))-2 print(s[0]+l+s[-1])
s950625955
p03636
u311669106
1576521364
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
s=input() l=len(s)-2 print(s[0]+l+s[-1])
s162935856
p03636
u311669106
1576521342
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s=int(input()) l=len(s)-2 print(s[0]+l+s[-1])
s754484258
p03636
u311669106
1576521084
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s=int(input()) l=len(s)-2 print(s[0]+l+[:-1])
s439196531
p03636
u780475861
1575670017
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
s = input() print(s[0] + str(len(s) - 2) + s[-1])s
s224018846
p03636
u780475861
1575669993
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
s = input() print(s[0] + str(len(s) - 2) + s[-1])s = input() print(s[0] + str(len(s) - 2) + s[-1])
s619548957
p03636
u495296799
1575150210
Python
Python (3.4.3)
py
Runtime Error
17
2940
2
a
s295823586
p03636
u923659712
1574141137
Python
Python (3.4.3)
py
Runtime Error
18
2940
38
n=input() print(n[0]+(len(n)-2)+n[-1])
s235013137
p03636
u175590965
1574131440
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
s = input() a = len(s)-2 print(s[0]+a+s[-1])
s474933571
p03636
u633548583
1573014917
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
s=str(input()) a=len(s) b=len(s[1:len[s]]) print(s[0]+'b'+s[-1])
s363160762
p03636
u633548583
1573014885
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
s=str(input()) a=len(s) b=len(s[1:len[s]]) print(s[0]+'a'+s[-1])
s179813116
p03636
u633548583
1573014847
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
s=str(input()) a=len(s) b=len(s[1:len[s]) print(s[0]+'a'+s[-1])
s110865746
p03636
u962415921
1572648212
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
s=input() N=len(s) print(s[0]+ str(N-2)+s[N])
s175489386
p03636
u831752983
1572630840
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin >> s; l=s.size()-2; cout>>s[0]>>l>>s[s.size()-1]; }
s091422289
p03636
u737321654
1572485483
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
s = input() initial = s[0] final = s[len(s) - 1] print(initial + str(len(s - 2)) + final)
s568170335
p03636
u819939299
1572391442
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
a,*b,c=input() print(a+len(b)+c)
s039007518
p03636
u911153222
1572222274
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
s = input() print(''.join(s[0], str(len(s) - 2), s[-1]))
s278951997
p03636
u911153222
1572222240
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
s = input() print(''.join(s[0], len(s) - 2, s[-1]))
s258904139
p03636
u099300051
1571763068
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
sA =[] sA += input() print("{}{}{}".format(sA[0],len(sA)-2,sA[len(sA-1)]))
s082127763
p03636
u287431190
1571610832
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s = input() n = len(s) print(s[0]+(n-2)+s[n-1])
s633563556
p03636
u506858457
1571497268
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
s=input() print(s[0]+len(s)-2+s[-1])
s151967234
p03636
u737668356
1571009576
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
a = input() print(a[0]+len(a)+a[-1])
s718302604
p03636
u737668356
1571009485
Python
Python (3.4.3)
py
Runtime Error
18
2940
49
a = input() s = a.length print(a[0]+int(s)+a[-1])
s013964302
p03636
u747602774
1570949419
Python
Python (3.4.3)
py
Runtime Error
18
2940
54
s=list(input()) print(s[0]+str(len(s-2))+s[len(s)-1])
s304564016
p03636
u991269553
1570028705
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
s = input() l = list(s) a = len(l)-2 print(l[0],end='') print(a,end='') print(l[len(l)-1]
s006754533
p03636
u602863587
1569986952
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
S=str(input()) size=len(S) print(S[0]+int(int(size)-2)+S[-1])
s711218595
p03636
u602863587
1569986918
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
S=str(input()) size=len(S) print(S[0]+(int(size)-2)+S[-1])
s437146006
p03636
u602863587
1569986512
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
S=str(input()) print(S[0:]+(S.count(S)-2)+S[-1:])
s878192044
p03636
u602863587
1569986468
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
S=str(input()) print(S[0]+(S.count(S)-2)+S[-1])
s666991631
p03636
u602863587
1569986364
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
S=str(input()) print(S[0]+(S.count(S)-2)+S[-0])
s977983890
p03636
u396890425
1569599584
Python
Python (3.4.3)
py
Runtime Error
18
3060
59
n,k,x,y=[int(input()) for i in range(4)] print(k*x+y*(n-k))
s310010579
p03636
u396890425
1569598789
Python
Python (3.4.3)
py
Runtime Error
19
2940
37
a,b,c=input(); print(a+str(len(b))+c)
s173460256
p03636
u044632922
1568000346
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
S=input() print(S[0]+int(len(S)-2)+S[-1])
s162675989
p03636
u597455618
1567914439
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
s = input() print("s[1]" + (len(s) -2) + "s[-1]")
s968031733
p03636
u100800700
1567795742
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
s = list(input()) print(s[0] + (s.count - 2) + s[-1])
s981754690
p03636
u869919400
1567655586
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s = input() print(f'{s[0]}{len(s)-2}{s[-1]}')
s952424746
p03636
u869919400
1567655548
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
45
s = input() print(f'{s[0]}{len(s)-2}{s[-1]}')
s771938937
p03636
u572142121
1567516586
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
s = input() print( s[:2] + str(len(s)-2) + s[len(s-1):] )
s368813872
p03636
u572142121
1567516216
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
S = input() L = len(s) print( S[:2]+str(L-2) +S[(L-1):] )
s340559020
p03636
u455533363
1566827406
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a = input() count = a.count() print(a[0]+str(count)+a[count-1])
s951316209
p03636
u455533363
1566827371
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a = input count = a.count() print(a[0]+str(count)+a[count-1])
s116066690
p03636
u045408189
1566676295
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
s=input() print(s[0]+len(s)+s[-1])
s573680444
p03636
u813371068
1566666964
Python
Python (3.4.3)
py
Runtime Error
18
2940
75
s = input() print(s)s=input() out = s[0] + str(len(s)-2) + s[-1] print(out)
s266896051
p03636
u546853743
1566410992
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
t=input() a,*b,c=t print(a+int(len(b))+c)
s756720674
p03636
u546853743
1566410346
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
t=input() a,*b,c=t print(a+len(b)+c)
s447528779
p03636
u546853743
1566410277
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
t=input() a,*b,c=t print(a+len(*b)+c)
s476067681
p03636
u546853743
1566409763
Python
Python (3.4.3)
py
Runtime Error
18
2940
42
t=input() a,*b,c=t print("a",len(*b),"c")
s584985098
p03636
u305018585
1566369027
Python
Python (3.4.3)
py
Runtime Error
19
2940
155
#include<iostream> using namespace std; main(){ string s ; cin >> s; cout << s.front()<<to_string(s.length() -2 )<<s.back()<< endl; return 0; }
s611024966
p03636
u537962130
1566165466
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38256
57
a=input() print('{}{}{}'.format(a[0],str(len(a)-2),a[-1])
s272176523
p03636
u665038048
1566059530
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
s = input() print(s[0]+f'{len(s)-2}'+s[-1])
s202599004
p03636
u477977638
1565928003
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s=input() print(s[0]+str(len(s-2))+s[len(s-1)])
s688760550
p03636
u181195295
1565905177
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
s = input() print({}{}{}).format(s[0],len(s)-2,s[-1])
s024008203
p03636
u318165580
1565891109
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
a=input() print(a[0]+len(a)+a[-1])
s502695966
p03636
u256464928
1565888729
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
a,*b,c = input()split() print(a+str(len(b))+c)
s212995363
p03636
u280552586
1565707953
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a, *b, c = input() print(a+str(len(*b))+c)
s205567445
p03636
u847165882
1565650736
Python
Python (3.4.3)
py
Runtime Error
18
2940
73
list=[s for s in input()] med=len(list) print(list[0]+str(med)+list[med])
s339984604
p03636
u798316285
1565646154
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
a=input() print(a[0]+str(len([a]-2))+a[-1])
s209791953
p03636
u802963389
1565646005
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s = input() ptint(s[0] + str(len(s)+2) + s[-1])
s222548112
p03636
u574117646
1565640647
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s=input() num=len(s)-2 print(s[0]+num+s[num+1])
s062785887
p03636
u488127128
1565613797
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
a,*b,c = input() print(a,*b,c, sep='')
s406352670
p03636
u248670337
1565565040
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
a,*b,c=input() print(a+str(len(b))+C)
s155147719
p03636
u248670337
1565564996
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
a,*b,c=input() print(a+len(b)+C)
s630355060
p03636
u408620326
1565318549
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
s=input() print(s[0]+str(len(S)-2)+s[-1])
s492872202
p03636
u360038884
1565109728
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
s = input() midLen = len(s) - 2 print(s[0] + midLen + s[-1])
s102269500
p03636
u908763441
1564705793
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
S = input() l = len(int(S)) print(S[0] + l +S[l-1])
s178253789
p03636
u908763441
1564705752
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
S = input() l = len(S) print(S[0] + l +S[l-1])