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
s215677459
p03635
u451017206
1502067796
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
n,m = list(map(int, input().split())) print ((n-1)*(m-1)
s751020181
p03635
u845674689
1502067721
Python
Python (3.4.3)
py
Runtime Error
19
2940
88
temp_arr = input().split(' ') n = temp_arr[0] m = temp_arr[1] print(str((n-1) * (m-1)))
s633322160
p03636
u179411549
1601484467
Python
PyPy3 (7.3.0)
py
Runtime Error
93
68684
44
s = input() print(s[0]+str(lent(s)-2)+s[-1])
s709443413
p03636
u179411549
1601484414
Python
PyPy3 (7.3.0)
py
Runtime Error
93
68728
46
s = input() print(s[0]+s.str(lent(s)-2)+s[-1])
s741781538
p03636
u179411549
1601484306
Python
PyPy3 (7.3.0)
py
Runtime Error
115
68604
30
print(s[0]+s.count(s-2)+s[-1])
s041066027
p03636
u179411549
1601484290
Python
PyPy3 (7.3.0)
py
Runtime Error
99
68664
40
s = input() print(s[0]+count(s-2)+s[-1])
s073649804
p03636
u347397127
1600395660
Python
PyPy3 (7.3.0)
py
Runtime Error
85
74512
41
S=input() print(S[0]+str(len(S-2))+S[-1])
s764498288
p03636
u847033024
1599968679
Python
Python (3.8.2)
py
Runtime Error
24
9020
49
a = input() print(s[0] + str(len(s) - 2) + s[-1])
s777198605
p03636
u244836567
1598573628
Python
Python (3.8.2)
py
Runtime Error
30
8956
41
a=input() print(a[0]+str(len(a-2))+a[-1])
s479309229
p03636
u855057563
1598457404
Python
Python (3.8.2)
py
Runtime Error
24
9020
45
s=input() print(s[0]+(len(s)-2)+s[len(s)-1])
s483775496
p03636
u855057563
1598457268
Python
Python (3.8.2)
py
Runtime Error
24
9032
42
s=input() print(s[0]+(len(s)-2)+s[len(s)])
s851293339
p03636
u620846115
1597939402
Python
Python (3.8.2)
py
Runtime Error
20
9024
40
s = input() print(s[0]+(len(s)-1)+s[-1])
s896802334
p03636
u068538925
1597627064
Python
Python (3.8.2)
py
Runtime Error
25
8980
45
s = input() print(s[:1]+str(len(s-2))+s[-1:])
s035507838
p03636
u823885866
1597199250
Python
Python (3.8.2)
py
Runtime Error
116
27208
453
import sys import math import itertools import collections import heapq import re import numpy as np from functools import reduce rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rl = lambda: ...
s263259260
p03636
u683117905
1595704584
Python
Python (3.8.2)
py
Runtime Error
21
9088
43
s = input() print(s[0]+str(len(s-2))+s[-1])
s418545690
p03636
u075303794
1595178635
Python
Python (3.8.2)
py
Runtime Error
24
8976
40
S=input() print(S[0]+len(S[1:-1])+S[-1])
s513984585
p03636
u407160848
1593810127
Python
PyPy3 (7.3.0)
py
Runtime Error
100
68588
44
s = input() print(s[0] + (len(s)-2) + s[-1])
s764705965
p03636
u540631540
1593742656
Python
Python (3.8.2)
py
Runtime Error
28
9080
47
s = input() t = len(s) print(s[0] + t + s[- 1])
s208795174
p03636
u540631540
1593741361
Python
Python (3.8.2)
py
Runtime Error
26
9064
47
s = input() print(s[0] + (len(s) - 2) + s[- 1])
s593553313
p03636
u088488125
1593437459
Python
Python (3.8.2)
py
Runtime Error
25
8924
38
s=input() print(s[0]+(len(s)-2)+s[-1])
s036702735
p03636
u600789379
1593361058
Python
Python (3.8.2)
py
Runtime Error
28
8992
58
s = input() N = len(s) print(s[0] + len(N - 2) + s[N - 1])
s440490814
p03636
u073646027
1593115144
Python
Python (3.8.2)
py
Runtime Error
25
8876
65
a = list(input()) n = len(a)-2 print(a[0],n,a[-1],sep=("")
s921295755
p03636
u234412605
1593026868
Python
Python (3.8.2)
py
Runtime Error
25
8960
127
import sys line = sys.stdin line = line.strip() start = line[0] end = line[-1] print('%s%d%s'%(start, len(line) - 2, end))
s115800716
p03636
u472333691
1592864944
Python
Python (3.8.2)
py
Runtime Error
21
9092
45
s=input() print(s[0] + int(len(s)-2) + s[-1])
s892222113
p03636
u245641078
1592843681
Python
Python (3.8.2)
py
Runtime Error
22
8820
56
s = input() print("{}{}{}".format(s[0],len(s)-2,s[-1]))
s100209386
p03636
u972892985
1592790507
Python
Python (3.8.2)
py
Runtime Error
25
9096
52
s = intput() print(s[0] + str((len(s)-2)) + s[-1])
s033140730
p03636
u972892985
1592790412
Python
Python (3.8.2)
py
Runtime Error
27
9072
38
print(s[0] + str((len(s)-2)) + s[-1])
s439924611
p03636
u972892985
1592790376
Python
Python (3.8.2)
py
Runtime Error
30
9080
34
print(s[0] + str((len-2)) + s[-1])
s160280025
p03636
u611090896
1592152040
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,*b,c = input().split() print(a+str(len(b))+c)
s501529967
p03636
u611090896
1592152011
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a,*b,c = input().split() print(a+len(b)+c)
s859009389
p03636
u925712873
1591858065
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s = input() print(f"{s[0]}{len(s) - 2}{s[-1]}")
s449502729
p03636
u925712873
1591857982
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
str = input() print(f"{str[0]}{len(str) - 2}{str[-1]}")
s063168728
p03636
u901306888
1591731806
Python
Python (3.4.3)
py
Runtime Error
16
2940
43
a, *b, c = input() print(f'{a}{len(b)}{c}')
s450494621
p03636
u629276590
1591670269
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
s=input() print(s[0]+len(s[1:-1])+s[-1])
s742577726
p03636
u629276590
1591670016
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
s=input() print(s[1]+(len(s)-2)+s[-1])
s026110204
p03636
u730769327
1591256898
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38256
51
s=input() a=a[0]+str(len(s)-2)+a[len(s)-1] print(a)
s276516373
p03636
u017415492
1591066875
Python
Python (3.4.3)
py
Runtime Error
17
3064
41
s=input() print(a[0]+str(len(s)-2)+s[-1])
s856094165
p03636
u685244071
1591032718
Python
Python (3.4.3)
py
Runtime Error
18
3188
51
s = input() print(s[0] + str(len(s)-2) + s[-1])
s538702860
p03636
u685244071
1591032640
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
s = input() print(s[0] + str(len(s) -2) + s[-1])
s575111735
p03636
u685244071
1591032119
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
s = input() m = str(len(s) -2) print(s[0] + m + s[-1])
s966984814
p03636
u842028864
1590774352
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s = input() print(s[0]+str(len(s)-2)+s[len(s)])
s606721495
p03636
u600261652
1590608464
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
s = input() print(s[0] + (len(s)-2) + s[-1])
s924555957
p03636
u247211039
1590368125
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
s = input() print(str(s[0]) + len(s)-2 + str(s[-1]))
s662962302
p03636
u076245995
1590186913
Python
Python (3.4.3)
py
Runtime Error
18
2940
47
s = input() print(f"{s[0]}{len(s) - 2}{s[-1]}")
s213117331
p03636
u344065503
1589941874
Python
PyPy3 (2.4.0)
py
Runtime Error
161
38256
38
a,*b,c=input() print(a+Str(len(b))+c)
s992537961
p03636
u344065503
1589941840
Python
PyPy3 (2.4.0)
py
Runtime Error
175
38768
32
a,*b,c=input() print(a+len(b)+c)
s706155730
p03636
u207799478
1589848943
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38420
66
s=input() ss=len(s[1:len(s)-1]) sss=str(ss) print(s[0]+sss+s[-1])
s918535612
p03636
u026788530
1589487197
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
s=input() print(s[0]+len(s)+s[-1])
s227432505
p03636
u039192119
1589425718
Python
Python (3.8.2)
py
Runtime Error
22
9024
41
s=input() print(s[0]+int(len(s)-2)+s[-1])
s044993916
p03636
u696240348
1589232949
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38256
70
s = input() l = len(s) print(s[0] + str(l - 2) + s[l - 1])
s554953540
p03636
u027403702
1589174306
Python
Python (3.4.3)
py
Runtime Error
18
2940
50
s = input() S = len(s) - 2 print(s[0] + S + s[-1])
s507966254
p03636
u097069712
1589173956
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
S = input() a = len(S) print(S[0]+ (str)a + S[-1])
s633555154
p03636
u097069712
1589173889
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
S = input() a = len(S) print(map(str(S[0]+a+S[-1])))
s934484231
p03636
u097069712
1589173823
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
S = input() a = len(S) print(str(S[0]+a+S[-1]))
s690197617
p03636
u097069712
1589173754
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
S = input() a = len(S) print(str(S[0]+a+S[-1])
s771288217
p03636
u675073679
1588945309
Python
Python (3.4.3)
py
Runtime Error
17
2940
209
#文字列を受け取る s = input() #replaceで文字列を置き換え print(s.replace('2017', '2018', 1)) #置き換え回数も指定できる。今回は必要なさそうだけど
s981496277
p03636
u675073679
1588945271
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
def main(): s = input() print(s[0] + str(len(s)-2) + s[-1]) if __name__ == '__main__': main()
s933800481
p03636
u857673087
1588818446
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
s = input() print(s[0] + (len(s)-2) + s[-1])
s228795962
p03636
u165268875
1588812789
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
s = input() print(s[0] + len(s[1,len(s)]) + s[-1])
s894028534
p03636
u067227603
1588741885
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
voca = input() output = vaca[0] + str(len(vaca) - 2) + vaca[-1] print(output)
s838256924
p03636
u568711768
1588648435
Python
Python (3.4.3)
py
Runtime Error
17
3064
39
S = input() print(S[0]+ len(S) + S[-1])
s378937360
p03636
u568711768
1588648425
Python
Python (3.4.3)
py
Runtime Error
18
2940
37
S = int() print(S[0]+ len(S) + S[-1])
s627981436
p03636
u579699847
1588553696
Python
Python (3.4.3)
py
Runtime Error
20
2940
40
s = input() print(s[0]+(len(s)-2)+s[-1])
s735591924
p03636
u049355439
1588532104
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
s = input() print(s[0], end="") print(s.count(n) - 2, end="") print(s[s.count(n) - 1])
s184320781
p03636
u049355439
1588531886
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
s = input() print(s[0], end="") print(s.size() - 2, end="") print(s[s.size() - 1])
s062197881
p03636
u056438254
1588432656
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
print(S[0] + (S.length()-2) + S[-1])
s235509281
p03636
u057964173
1588308229
Python
Python (3.4.3)
py
Runtime Error
18
3064
332
import sys def input(): return sys.stdin.readline().strip() def resolve(): al=[chr(ord('A')+i) for i in range(26)] h,w=map(int, input().split()) l=[list(input().split()) for i in range(h)] for j in range(w): for k in range(h): if l[k][j]=='snuke': print(al[j]+str(k+1...
s677945487
p03636
u718659561
1588124693
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
str=input() a=str[0] b=str[len(str)-1] c=len(str)-2 print(a+str(c)+b)
s078699107
p03636
u718659561
1588123823
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
str=input() a=str[0] b=str[len(str)] c=len(str)-2 print(a+c+b)
s608613476
p03636
u257265865
1588113644
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a=input() print(a[0]+str(len(s)-2)+a[-1])
s835203061
p03636
u257265865
1588113594
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
a=input() print(a[1]+str(len(s)-2)+a[-1])
s575043206
p03636
u568711768
1588007652
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
s=input() print(s[0]+str((len(s)-2)+s[-1])
s592058883
p03636
u390762426
1587727963
Python
Python (3.4.3)
py
Runtime Error
17
2940
207
# -*- coding: utf-8 -*- # 整数の入力 a = int(input()) # スペース区切りの整数の入力 b, c = map(int, input().split()) # 文字列の入力 s = input() # 出力 print("{} {}".format(a+b+c, s))
s366898628
p03636
u390762426
1587727796
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
s=Input() print(s[0]+str(len(s)-2)+s[-1])
s694562685
p03636
u151785909
1587678786
Python
Python (3.4.3)
py
Runtime Error
18
2940
54
s = input() l=len(s)-2 t=f'{s[0]}{l}{s[l+1]}' print(t)
s767871787
p03636
u531599639
1587658427
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
s=input() print(s[0]+str(len(s)-2)+s[len(s-2)])
s072006684
p03636
u531599639
1587658281
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s=input() print(s[0]+str(len(s)-2)+s[len(s)])
s511631316
p03636
u259861571
1587437330
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
# AtCoder s = input() mid = str(len(s) - 2) print(f'{s[0]}{mid}{s[-1]}')
s533375661
p03636
u551247219
1587261258
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
s=input() return s[0]+str(len(s[1:-1]))+s[-1]
s420161915
p03636
u652656291
1587164224
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
s = input() a = len(s)-2 print(s[0] + int(a) + s[-1])
s640571349
p03636
u652656291
1587164206
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
s = input() a = len(s)-2 print(s[0] + a + s[-1])
s423774673
p03636
u652656291
1587164141
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s = input() a = s.count() print(s[0]+a+s[-1])
s189748371
p03636
u088063513
1587063996
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
s = input() print('{}{}{}'.format(s[0],len(s)-2,s[len(s)-1])
s431662699
p03636
u923583900
1587043906
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
s=input() length=len(s)-2 print(s[0]+length+s[-1])
s087947614
p03636
u923583900
1587043646
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
s=input() length=len(s)-2 print(f'{s[0]}{length}{s[-1]}')
s316067677
p03636
u923583900
1587043043
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
length=len(s)-2 return s[0]+length+s[-1]
s507611519
p03636
u425762225
1586789832
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38256
122
s = input() char_number = len(s) start = s[0] end = s[-0] answer = start + str(char_number - 2)in + end print(answer)
s854306189
p03636
u425762225
1586789738
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38384
111
s = input() char_number = len(s) start = s[0] end = s[-0] answer = start + char_number + end print(answer)
s290305011
p03636
u179750651
1586729237
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
print(input()[:1]+str(len()-2)+input()[-1:])
s989832524
p03636
u515723930
1586455544
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
print("{}{}{}".format(s[0],len(s)-2,s[-1]))
s711196609
p03636
u515723930
1586455266
Python
Python (3.4.3)
py
Runtime Error
18
2940
78
def main(str): print("{}{}{}".format(str[0],str(len(str)-2),str[len(str)-1])
s594005703
p03636
u388904130
1586387314
Python
Python (3.4.3)
py
Runtime Error
18
2940
129
s = input() # 頭とお尻の文字数を引く n = len(s) - 2 # 頭とお尻をくっつくて出力 print(f'{s[0]}{n}{s[-1]}')
s623197407
p03636
u841531687
1585357579
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
str = input() s_head = str[0] s_tail = str[-1] s_middle = len(str) -2 ans = s_head + str(s_middle) + s_tail print(ans)
s618017466
p03636
u841531687
1585357329
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
str = input() s_head = str[0] s_tail = str[1] s_middle = len(str) -2 ans = s_head + str(s_middle) + s_tail
s305763232
p03636
u260036763
1584078306
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
s = input() c = 0 for i in s: c += 1 print(s[0] + (c-2) + s[-1])
s924821212
p03636
u299251530
1583980076
Python
Python (3.4.3)
py
Runtime Error
19
2940
44
s = input() print(s[0] + len(s)-2 + s[-1])
s317664765
p03636
u299251530
1583980022
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
s = input() print(s[0] + s.length-2 + s[-1])
s206393186
p03636
u536642030
1583960765
Python
Python (3.4.3)
py
Runtime Error
18
2940
38
s = input() print(s[0]+len(s)-2+s[-1])
s854797011
p03636
u291628833
1583647953
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38256
58
s = list(input()) ans = s[0] + len(s)-2 + s[-1] print(ans)
s361729561
p03636
u480038302
1583362422
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a = input() b = len(a) b = b-2 print(a[0]+b+a[b+1])