node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 39, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, ...
[ [ 55, 2 ], [ 55, 11 ], [ 43, 13 ], [ 17, 16 ], [ 53, 19 ], [ 44, 22 ], [ 44, 28 ], [ 46, 31 ], [ 35, 34 ], [ 44, 34 ], [ 49, 37 ], [ 34, 38 ], [ 50, 41 ], [ ...
[ "n, l = map(int, input().split())\nll = []\nfor i in range(n):\n ll.append(input())\nll.sort()\nans = \"\"\nfor j in ll:\n ans += j\n\nprint(ans)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "...
n, l = map(int, input().split()) ll = [] for i in range(n): ll.append(input()) ll.sort() ans = "" for j in ll: ans += j print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 4, 18, 17, 13, 39, 13, 13, 4, 13, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 1...
[ [ 56, 2 ], [ 56, 11 ], [ 15, 14 ], [ 54, 17 ], [ 50, 22 ], [ 51, 26 ], [ 47, 29 ], [ 33, 32 ], [ 51, 32 ], [ 59, 35 ], [ 60, 45 ], [ 48, 45 ], [ 47, 48 ], [ ...
[ "n,l = map(int,input().split())\ns = [input() for i in range(n)]\ns.sort()\nans = \"\"\nfor i in s:\n ans = \"\".join([ans,i])\nprint(ans) ", "n,l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input...
n,l = map(int,input().split()) s = [input() for i in range(n)] s.sort() ans = "" for i in s: ans = "".join([ans,i]) print(ans)
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 17, 16 ], [ 4, 19 ], [ 25, 24 ], [ 24, 34 ], [ 39, 36 ] ]
[ "#!/usr/bin/env python3\n\n\ndef main():\n N, L = map(int, input().split())\n S = [input() for _ in range(N)]\n print(\"\".join(sorted(S)))\n\n\nmain()", "def main():\n N, L = map(int, input().split())\n S = [input() for _ in range(N)]\n print(\"\".join(sorted(S)))", "main", "N, L = map(int,...
#!/usr/bin/env python3 def main(): N, L = map(int, input().split()) S = [input() for _ in range(N)] print("".join(sorted(S))) main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 39, ...
[ [ 52, 2 ], [ 52, 11 ], [ 55, 13 ], [ 17, 16 ], [ 47, 19 ], [ 58, 21 ], [ 56, 28 ], [ 59, 30 ], [ 56, 33 ], [ 49, 36 ], [ 56, 41 ], [ 50, 44 ], [ 52, 47 ], [ ...
[ "N,L= map(int,input().split())\nlist=[]\nfor I in range(N):\n S=str(input())\n list.append(S)\nlist.sort()\nc=\"\".join(list)\nprint(c)", "N,L= map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "list=[]...
N,L= map(int,input().split()) list=[] for I in range(N): S=str(input()) list.append(S) list.sort() c="".join(list) print(c)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 31, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 39, 2 ], [ 39, 11 ], [ 42, 13 ], [ 17, 16 ], [ 40, 19 ], [ 43, 22 ], [ 43, 31 ], [ 34, 33 ], [ 39, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "n,l = map(int, input().split())\ns = []\nfor _ in range(n):\n s.append(input())\nprint(*sorted(s), sep='')", "n,l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "s = []", "s", "[]", "for _ in...
n,l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) print(*sorted(s), sep='')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 4, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 34, 11 ], [ 28, 13 ], [ 29, 23 ], [ 26, 25 ], [ 28, 29 ], [ 34, 32 ], [ 34, 35 ] ]
[ "N, L = map(int, input().split())\nS = sorted(list(input() for _ in range(N)))\nprint(*S, sep='')", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "S = sorted(list(input() for _ in range(N)))", ...
N, L = map(int, input().split()) S = sorted(list(input() for _ in range(N))) print(*S, sep='')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 15, 14 ], [ 39, 17 ], [ 41, 24 ], [ 42, 28 ], [ 42, 36 ], [ 44, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "n, l = map(int, input().split())\nans = [str(input()) for _ in range(n)]\n\nans.sort()\n\n\nprint(\"\".join(ans))\n\n", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "str(input()) for _ in rang...
n, l = map(int, input().split()) ans = [str(input()) for _ in range(n)] ans.sort() print("".join(ans))
[ 7, 0, 13, 39, 0, 13, 17, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 42, 40, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 0, 13, 17, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 39, 13, 10, 17, 13, 10, 4...
[ [ 49, 2 ], [ 52, 5 ], [ 55, 8 ], [ 55, 17 ], [ 53, 20 ], [ 62, 20 ], [ 47, 21 ], [ 58, 23 ], [ 50, 28 ], [ 59, 30 ], [ 61, 32 ], [ 50, 36 ], [ 50, 44 ], [ 5...
[ "str_list = []\ni = 1\nn_number, l_length = map(int, input().split())\nwhile i <= n_number:\n w_1 = input()\n str_list.append(w_1)\n i += 1\n\n\nstr_list.sort()\nprint(''.join(str_list))", "str_list = []", "str_list", "[]", "i = 1", "i", "1", "n_number, l_length = map(int, input().split())", ...
str_list = [] i = 1 n_number, l_length = map(int, input().split()) while i <= n_number: w_1 = input() str_list.append(w_1) i += 1 str_list.sort() print(''.join(str_list))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 40, 11 ], [ 15, 14 ], [ 35, 17 ], [ 37, 22 ], [ 38, 32 ], [ 40, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "n,l = map(int, input().split())\nstrs = [input() for i in range(n)]\nprint(''.join(sorted(strs)))", "n,l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for i in range(n)", "for i in range(n...
n,l = map(int, input().split()) strs = [input() for i in range(n)] print(''.join(sorted(strs)))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 28, 13, 4, 13, 17, 2, 13, 17, 4, 18, 13, 13, 0, 13, 12, 18, 13, 2, 13, 13, 23, 28, 13, 4, 13, 13, 4, 13, 18, 13...
[ [ 67, 2 ], [ 67, 11 ], [ 64, 13 ], [ 17, 16 ], [ 62, 19 ], [ 65, 22 ], [ 28, 27 ], [ 68, 32 ], [ 65, 36 ], [ 40, 39 ], [ 68, 44 ], [ 27, 45 ], [ 49, 48 ], [ ...
[ "#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#s, t = map(str, input().split())\n#l = list(map(int, input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n\nn,l = map(int, input().split())\n\nstrs = []\nfor i in range(n):\n strs.append(input())\n\nfor i in range(1,l+1)...
#k = int(input()) #s = input() #a, b = map(int, input().split()) #s, t = map(str, input().split()) #l = list(map(int, input().split())) #l = [list(map(int,input().split())) for i in range(n)] n,l = map(int, input().split()) strs = [] for i in range(n): strs.append(input()) for i in range(1,l+1): strs.sort(ke...
[ 7, 0, 13, 4, 18, 4, 18, 4, 13, 17, 13, 13, 13, 31, 13, 4, 18, 13, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 30, 2 ], [ 30, 12 ], [ 30, 13 ], [ 25, 24 ], [ 30, 28 ], [ 30, 31 ] ]
[ "#!/usr/bin/env python3\n_, _, *s = open(0).read().split()\ns.sort()\nprint(*s, sep=\"\")", "_, _, *s = open(0).read().split()", "_", "open(0).read().split()", "(0).read().split", "(0).read()", "(0).read", "(0)", "open", "0", "read", "split", "_", "*s", "s", "s.sort()", "s.sort", "...
#!/usr/bin/env python3 _, _, *s = open(0).read().split() s.sort() print(*s, sep="")
[ 7, 15, 13, 12, 13, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 9, 8 ], [ 49, 15 ], [ 9, 17 ], [ 21, 20 ], [ 8, 23 ], [ 49, 26 ], [ 29, 28 ], [ 28, 32 ], [ 28, 40 ], [ 52, 46 ] ]
[ "import sys\ndef input(): return sys.stdin.readline().strip()\n\ndef main():\n N, L = map(int, input().split())\n S = [input() for _ in range(N)]\n S.sort()\n print(\"\".join(S))\n\n\n\nif __name__ == \"__main__\":\n main()", "import sys", "sys", "def input(): return sys.stdin.readline().strip(...
import sys def input(): return sys.stdin.readline().strip() def main(): N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print("".join(S)) if __name__ == "__main__": main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 40, 11 ], [ 34, 13 ], [ 37, 19 ], [ 35, 22 ], [ 38, 26 ], [ 29, 28 ], [ 40, 32 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "n, l = map(int, input().split())\nsl = list(input() for _ in range(n))\nsl_s = sorted(sl)\n\nprint(*sl_s, sep='')", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "sl = list(input() for _ in ran...
n, l = map(int, input().split()) sl = list(input() for _ in range(n)) sl_s = sorted(sl) print(*sl_s, sep='')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 13, 13, 10, 17, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 15, 14 ], [ 51, 17 ], [ 44, 22 ], [ 45, 26 ], [ 47, 29 ], [ 33, 32 ], [ 45, 32 ], [ 53, 35 ], [ 32, 36 ], [ 54, 39 ], [ 48, 39 ], [ ...
[ "N, L = map(int, input().split())\nS = [input() for _ in range(N)]\nS.sort()\nans = \"\"\nfor s in S:\n ans += s\nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for _ in ...
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ans = "" for s in S: ans += s print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10...
[ [ 65, 2 ], [ 65, 11 ], [ 53, 13 ], [ 17, 16 ], [ 66, 19 ], [ 59, 21 ], [ 54, 26 ], [ 60, 28 ], [ 54, 31 ], [ 56, 34 ], [ 38, 37 ], [ 66, 40 ], [ 62, 42 ], [ ...
[ "n, l = map(int, input().split())\nsl = []\nfor i in range(n):\n s = input()\n sl.append(s)\nsl.sort()\n#print(sl)\nans = \"\"\nfor i in range(n):\n ans += sl[i]\nprint(ans)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", ...
n, l = map(int, input().split()) sl = [] for i in range(n): s = input() sl.append(s) sl.sort() #print(sl) ans = "" for i in range(n): ans += sl[i] print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 15, 14 ], [ 45, 17 ], [ 38, 22 ], [ 39, 26 ], [ 30, 29 ], [ 39, 29 ], [ 29, 33 ], [ 36, 35 ], [ 38, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "n, l = map(int, input().split())\n\ns = [input() for _ in range(n)]\ns.sort()\n\nfor string in s:\n print(string, end='')", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for _ in ra...
n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() for string in s: print(string, end='')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 39, 2 ], [ 39, 11 ], [ 15, 14 ], [ 37, 17 ], [ 42, 22 ], [ 43, 26 ], [ 43, 31 ], [ 34, 33 ], [ 39, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "n,l=map(int,input().split())\ns=[input() for _ in range(n)]\ns.sort()\nprint(*s,sep=\"\")", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for _ in range(n)", "for _ in range(n)", "_", ...
n,l=map(int,input().split()) s=[input() for _ in range(n)] s.sort() print(*s,sep="")
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 13, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 45, 14 ], [ 45, 16 ], [ 20, 19 ], [ 46, 22 ], [ 42, 27 ], [ 43, 37 ], [ 45, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "n, _ = [int(x) for x in input().split()]\nss = sorted([input() for _ in range(n)])\nprint(''.join(ss))", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)", "int", "x", "n, _ = [in...
n, _ = [int(x) for x in input().split()] ss = sorted([input() for _ in range(n)]) print(''.join(ss))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10, 17, 13, 10...
[ [ 65, 2 ], [ 65, 11 ], [ 50, 13 ], [ 17, 16 ], [ 63, 19 ], [ 59, 21 ], [ 51, 26 ], [ 60, 28 ], [ 47, 30 ], [ 51, 33 ], [ 53, 35 ], [ 39, 38 ], [ 48, 38 ], [ ...
[ "N, L = map(int,input().split())\nA = []\nfor i in range(N):\n S = input()\n A.append(S)\n \nA = sorted(A)\nans = ''\nfor i in A:\n ans += i\n\nprint(ans)", "N, L = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", ...
N, L = map(int,input().split()) A = [] for i in range(N): S = input() A.append(S) A = sorted(A) ans = '' for i in A: ans += i print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 51, 11 ], [ 15, 14 ], [ 52, 17 ], [ 39, 22 ], [ 42, 27 ], [ 31, 30 ], [ 40, 30 ], [ 45, 33 ], [ 30, 34 ], [ 46, 37 ], [ 43, 37 ], [ 39, 40 ], [ ...
[ "n, l = map(int, input().split())\nS = sorted([input() for _ in range(n)])\n\nans = ''\nfor s in S:\n ans += s\nprint(ans)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for _ in ra...
n, l = map(int, input().split()) S = sorted([input() for _ in range(n)]) ans = '' for s in S: ans += s print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 0, 13, 39, 28, 13, 4, 13, 4, 13, 18, 13, 17, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 13, 13, 10, 3...
[ [ 58, 2 ], [ 46, 6 ], [ 59, 9 ], [ 55, 12 ], [ 16, 15 ], [ 47, 21 ], [ 59, 21 ], [ 56, 25 ], [ 56, 31 ], [ 49, 34 ], [ 38, 37 ], [ 56, 37 ], [ 52, 40 ], [ 3...
[ "Firstline = input()\nFirstline = Firstline.split()\n\nList = []\nfor i in range(int(Firstline[0])):\n List.append(input())\n\nList.sort()\ns = \"\"\nfor i in List:\n s += i\n\nprint(s)", "Firstline = input()", "Firstline", "input()", "input", "Firstline = Firstline.split()", "Firstline", "Firstline...
Firstline = input() Firstline = Firstline.split() List = [] for i in range(int(Firstline[0])): List.append(input()) List.sort() s = "" for i in List: s += i print(s)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 4, 13, 13, 13, 4, 18, 13, 13, 13, 0, 13, 17, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 51, 11 ], [ 15, 14 ], [ 46, 17 ], [ 48, 22 ], [ 49, 33 ], [ 36, 35 ], [ 49, 43 ], [ 51, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "n, y = map(int, input().split())\nA = list(map(str, [input() for i in range(n)]))\nlist.sort(A, reverse=False)\nprint(''.join(A))", "n, y = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "y", "input() for i ...
n, y = map(int, input().split()) A = list(map(str, [input() for i in range(n)])) list.sort(A, reverse=False) print(''.join(A))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 46, 11 ], [ 40, 13 ], [ 17, 16 ], [ 44, 19 ], [ 41, 22 ], [ 41, 30 ], [ 41, 38 ], [ 40, 41 ], [ 46, 44 ], [ 46, 47 ] ]
[ "N,L = map(int,input().split())\nlist1 = []\nfor l in range(N):\n list1.append(str(input()))\nlist1.sort()\nprint(''.join(list1))", "N,L = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "list1 = []", ...
N,L = map(int,input().split()) list1 = [] for l in range(N): list1.append(str(input())) list1.sort() print(''.join(list1))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 15, 14 ], [ 45, 17 ], [ 38, 24 ], [ 39, 28 ], [ 39, 36 ], [ 38, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "n, l = map(int, input().split())\nS =[str(input()) for _ in range(n)]\nS.sort()\nprint(''.join(S))", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "str(input()) for _ in range(n)", "for _ in ...
n, l = map(int, input().split()) S =[str(input()) for _ in range(n)] S.sort() print(''.join(S))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, ...
[ [ 56, 2 ], [ 56, 11 ], [ 65, 13 ], [ 17, 16 ], [ 54, 19 ], [ 66, 22 ], [ 50, 29 ], [ 66, 32 ], [ 62, 34 ], [ 38, 37 ], [ 54, 40 ], [ 59, 42 ], [ 51, 44 ], [ ...
[ "n,l = map(int,input().split())\ns_list = []\nfor i in range(n):\n s_list.append(str(input()))\ns_sort = sorted(s_list)\nans = ''\nfor i in range(n):\n ans += s_sort[i]\nprint(ans)", "n,l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", ...
n,l = map(int,input().split()) s_list = [] for i in range(n): s_list.append(str(input())) s_sort = sorted(s_list) ans = '' for i in range(n): ans += s_sort[i] print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 37, 2 ], [ 37, 11 ], [ 15, 14 ], [ 38, 17 ], [ 40, 22 ], [ 41, 32 ], [ 37, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "n,l=map(int, input().split())\ns=[input() for i in range(n)]\nprint(\"\".join(sorted(s)))", "n,l=map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for i in range(n)", "for i in range(n)", "i",...
n,l=map(int, input().split()) s=[input() for i in range(n)] print("".join(sorted(s)))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 14, 2, 13, 17, 4, 13, 4, 13, 4, 13, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, ...
[ [ 60, 2 ], [ 60, 11 ], [ 57, 13 ], [ 61, 17 ], [ 27, 26 ], [ 61, 29 ], [ 58, 32 ], [ 58, 38 ], [ 54, 41 ], [ 58, 46 ], [ 55, 49 ], [ 58, 49 ], [ 60, 52 ], [ ...
[ "n, l = map(int, input().split())\na = []\nif n == 1:\n print(input())\n exit()\nfor i in range(n):\n a.append(input())\na.sort()\na = ''.join(a)\nprint(a)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "spli...
n, l = map(int, input().split()) a = [] if n == 1: print(input()) exit() for i in range(n): a.append(input()) a.sort() a = ''.join(a) print(a)
[ 7, 15, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 12, 4, 13, 4, 18, 18, 13, 13, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 4, 13, 0, 13, 12, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0,...
[ [ 105, 11 ], [ 126, 22 ], [ 108, 37 ], [ 127, 42 ], [ 114, 44 ], [ 120, 56 ], [ 69, 68 ], [ 123, 77 ], [ 127, 79 ], [ 123, 80 ], [ 84, 83 ], [ 124, 86 ], [ 115, 89 ...
[ "import sys\n\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninm = lambda: map(int, sys.stdin.readline().split())\ninl = lambda: list(inm())\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(\"\\033[33m\", *a, \"\\033[0m\", **dict(file=sys.stderr, **kw))\n\nN, L...
import sys sys.setrecursionlimit(10 ** 8) ini = lambda: int(sys.stdin.readline()) inm = lambda: map(int, sys.stdin.readline().split()) inl = lambda: list(inm()) ins = lambda: sys.stdin.readline().rstrip() debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw)) N, L = inm() S = [ins() ...
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 39, 4, 13, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13, 10, 39, 13 ]
[ [ 42, 2 ], [ 42, 13 ], [ 45, 15 ], [ 19, 18 ], [ 43, 21 ], [ 48, 23 ], [ 49, 37 ], [ 46, 37 ], [ 42, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "# 入力\nN,L = list(map(int, input().split()))\nS = []\nfor _ in range(N):\n S += [str(input())]\n\n# 出力\nprint(''.join(sorted(S)))", "N,L = list(map(int, input().split()))", "N", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", ...
# 入力 N,L = list(map(int, input().split())) S = [] for _ in range(N): S += [str(input())] # 出力 print(''.join(sorted(S)))
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 2, 13, 13, 4, 13, 13, 10, 13, 13,...
[ [ 66, 2 ], [ 69, 14 ], [ 67, 16 ], [ 57, 19 ], [ 67, 21 ], [ 26, 25 ], [ 70, 28 ], [ 54, 33 ], [ 55, 37 ], [ 63, 40 ], [ 44, 43 ], [ 55, 43 ], [ 60, 46 ], [ ...
[ "nl = list(map(int,input().split()))\nN = nl[0]\nL = nl[1]\nss = [input() for i in range(N)]\nss.sort()\nres = \"\"\nfor i in ss:\n res = res+i\nprint(res)", "nl = list(map(int,input().split()))", "nl", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().spl...
nl = list(map(int,input().split())) N = nl[0] L = nl[1] ss = [input() for i in range(N)] ss.sort() res = "" for i in ss: res = res+i print(res)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 18, 17, 13, 4, 13, 4, 18, 4, 13, 13, 0, 13, 4, 18, 17, 13, 4, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 49, 11 ], [ 15, 14 ], [ 50, 17 ], [ 43, 31 ], [ 44, 41 ], [ 43, 44 ], [ 49, 47 ], [ 49, 50 ] ]
[ "n,_=map(int,input().split())\nl=''.join(sorted([''.join(sorted(input().split())) for _ in range(n)]))\nprint(l)", "n,_=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "_", "''.join(sorted(input().split())) for ...
n,_=map(int,input().split()) l=''.join(sorted([''.join(sorted(input().split())) for _ in range(n)])) print(l)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 4, 18, 17, 13, 4, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 45, 2 ], [ 45, 11 ], [ 48, 13 ], [ 17, 16 ], [ 46, 19 ], [ 49, 22 ], [ 42, 27 ], [ 49, 34 ], [ 43, 37 ], [ 45, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "n,l = map(int,input().split())\n\nword_list = []\n\nfor i in range(n):\n word_list.append(input())\n\nanswer = ''.join(sorted(word_list))\nprint(answer)", "n,l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", ...
n,l = map(int,input().split()) word_list = [] for i in range(n): word_list.append(input()) answer = ''.join(sorted(word_list)) print(answer)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 0, 13, 4, 18, 17, 13, 4, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 40, 11 ], [ 37, 13 ], [ 31, 19 ], [ 38, 26 ], [ 32, 29 ], [ 31, 32 ], [ 40, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "n, l = map(int, input().split())\ns = list(input() for _ in range(n))\n\na = \"\".join(sorted(s))\nprint(a)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "s = list(input() for _ in range(n))"...
n, l = map(int, input().split()) s = list(input() for _ in range(n)) a = "".join(sorted(s)) print(a)
[ 7, 0, 13, 4, 18, 4, 18, 4, 13, 17, 13, 13, 13, 31, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 28, 2 ], [ 28, 12 ], [ 28, 13 ], [ 28, 26 ], [ 28, 29 ] ]
[ "_, _, *s = open(0).read().split()\nprint(''.join(sorted(s)))", "_, _, *s = open(0).read().split()", "_", "open(0).read().split()", "(0).read().split", "(0).read()", "(0).read", "(0)", "open", "0", "read", "split", "_", "*s", "s", "print(''.join(sorted(s)))", "print", "''.join(sort...
_, _, *s = open(0).read().split() print(''.join(sorted(s)))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 39, 13, 10, 18, 1...
[ [ 63, 2 ], [ 63, 11 ], [ 51, 13 ], [ 17, 16 ], [ 61, 19 ], [ 52, 22 ], [ 57, 27 ], [ 52, 30 ], [ 48, 32 ], [ 36, 35 ], [ 61, 38 ], [ 54, 40 ], [ 58, 42 ], [ ...
[ "# スペース区切りの整数の入力\nn, l = map(int, input().split())\n\ndata = []\nfor i in range(n):\n data.append(input())\n\nl = sorted(data)\nans = ''\n\nfor i in range(n):\n ans += l[i]\n\nprint(ans)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "()....
# スペース区切りの整数の入力 n, l = map(int, input().split()) data = [] for i in range(n): data.append(input()) l = sorted(data) ans = '' for i in range(n): ans += l[i] print(ans)
[ 7, 15, 13, 4, 18, 13, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 29, 18, 4, 18, 18, 13, 13, 13, 39, 17, 12, 13, 29, 4, 13, 13, 4, 18, 4, 13, 13, 12, 13, 29, 4, 13, 4, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 4, ...
[ [ 128, 9 ], [ 117, 36 ], [ 117, 44 ], [ 50, 49 ], [ 75, 52 ], [ 123, 57 ], [ 60, 59 ], [ 64, 63 ], [ 59, 67 ], [ 63, 71 ], [ 75, 75 ], [ 80, 79 ], [ 123, 81 ], ...
[ "import sys\nsys.setrecursionlimit(500000)\nMOD = 10**9+7\n\ndef input():\n return sys.stdin.readline()[:-1]\n\ndef mi():\n return map(int, input().split())\n\ndef ii():\n return int(input())\n\ndef i2(n):\n tmp = [list(mi()) for i in range(n)]\n return [list(i) for i in zip(*tmp)]\n\n\ndef main():\n...
import sys sys.setrecursionlimit(500000) MOD = 10**9+7 def input(): return sys.stdin.readline()[:-1] def mi(): return map(int, input().split()) def ii(): return int(input()) def i2(n): tmp = [list(mi()) for i in range(n)] return [list(i) for i in zip(*tmp)] def main(): N, L = mi() S = ...
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 28, 13, 4, 13, 13, 4, 13, 18, 13, 13, 0, 13, 17, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 44, 13 ], [ 17, 16 ], [ 51, 19 ], [ 45, 22 ], [ 45, 28 ], [ 32, 31 ], [ 51, 34 ], [ 45, 38 ], [ 31, 39 ], [ 42, 41 ], [ 44, 45 ], [ ...
[ "N, L = map(int, input().split())\na = []\n\nfor i in range(N):\n a.append(input())\n\na.sort()\n\nfor i in range(N):\n print(a[i],end=\"\")", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", ...
N, L = map(int, input().split()) a = [] for i in range(N): a.append(input()) a.sort() for i in range(N): print(a[i],end="")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 41, 2 ], [ 41, 11 ], [ 44, 13 ], [ 17, 16 ], [ 39, 19 ], [ 45, 22 ], [ 45, 28 ], [ 45, 36 ], [ 41, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "N, L = map(int, input().split())\nw = []\nfor _ in range(N):\n w.append(input())\n\nw.sort()\n\nprint(\"\".join(w))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "w = []", "w", "[]", "...
N, L = map(int, input().split()) w = [] for _ in range(N): w.append(input()) w.sort() print("".join(w))
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 2, 13, 13, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 17, 16 ], [ 4, 19 ], [ 25, 24 ], [ 28, 27 ], [ 24, 30 ], [ 33, 32 ], [ 36, 35 ], [ 27, 35 ], [ 39, 38 ], [ 32, 40 ], [ 38, 40 ], [ 35...
[ "def main():\n N, L = map(int, input().split())\n Sn = [input() for i in range(N)]\n Sn2 = sorted(Sn)\n ans = \"\"\n for val in Sn2 :\n ans = ans + val\n print(ans)\n\nif __name__ == '__main__':\n main()", "def main():\n N, L = map(int, input().split())\n Sn = [input() for i in r...
def main(): N, L = map(int, input().split()) Sn = [input() for i in range(N)] Sn2 = sorted(Sn) ans = "" for val in Sn2 : ans = ans + val print(ans) if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 38, 13 ], [ 17, 16 ], [ 42, 19 ], [ 39, 22 ], [ 39, 28 ], [ 39, 36 ], [ 38, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "n,k=map(int,input().split())\nw=[]\nfor i in range(n):\n w.append(input())\nw.sort()\nprint(''.join(w))", "n,k=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "k", "w=[]", "w", "[]", "for i in range(n):\...
n,k=map(int,input().split()) w=[] for i in range(n): w.append(input()) w.sort() print(''.join(w))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 11 ], [ 41, 13 ], [ 17, 16 ], [ 39, 19 ], [ 42, 22 ], [ 42, 28 ], [ 42, 36 ], [ 44, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "N, L = map(int, input().split())\ns = []\n\nfor _ in range(N):\n\ts.append(input())\n\ns.sort()\nprint(''.join(s))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "s = []", "s", "[]", "fo...
N, L = map(int, input().split()) s = [] for _ in range(N): s.append(input()) s.sort() print(''.join(s))
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 41, 28, 13, 4, 13, 18, 13, 17, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 16, 15 ], [ 43, 19 ], [ 39, 25 ], [ 40, 29 ], [ 40, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "val1=list(map(int,input().split()))\nval2=[input() for i in range(val1[0])]\n\nval2.sort()\nprint(\"\".join(val2))", "val1=list(map(int,input().split()))", "val1", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input",...
val1=list(map(int,input().split())) val2=[input() for i in range(val1[0])] val2.sort() print("".join(val2))
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 16, 15 ], [ 19, 18 ], [ 4, 21 ], [ 15, 24 ], [ 15, 30 ], [ 15, 38 ], [ 47, 44 ] ]
[ "def main():\n\tN, L = map(int, input().split())\n\tS = []\n\n\tfor _ in range(N):\n\t\tS.append(input())\n\n\tS.sort()\n\t\n\tprint(\"\".join(S))\n\n\n \nif __name__ == \"__main__\":\n \tmain()", "def main():\n\tN, L = map(int, input().split())\n\tS = []\n\n\tfor _ in range(N):\n\t\tS.append(input())\n\n\tS.so...
def main(): N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) S.sort() print("".join(S)) if __name__ == "__main__": main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 17, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 39, 13, 1...
[ [ 47, 2 ], [ 47, 12 ], [ 53, 14 ], [ 18, 17 ], [ 45, 20 ], [ 54, 23 ], [ 54, 29 ], [ 56, 32 ], [ 36, 35 ], [ 54, 35 ], [ 50, 38 ], [ 35, 39 ], [ 51, 42 ], [ ...
[ "n,l=map(int, input().split(' '))\n\nss= []\nfor i in range(n):\n ss.append(input())\nss.sort()\n\nans= ''\nfor i in ss:\n ans+=i\n \nprint(ans)", "n,l=map(int, input().split(' '))", "n", "map(int, input().split(' '))", "map", "int", "input().split(' ')", "().split", "()", "input", "split", ...
n,l=map(int, input().split(' ')) ss= [] for i in range(n): ss.append(input()) ss.sort() ans= '' for i in ss: ans+=i print(ans)
[ 7, 15, 13, 15, 15, 13, 6, 13, 12, 13, 0, 13, 18, 13, 13, 13, 18, 13, 13, 0, 18, 13, 13, 4, 13, 18, 13, 13, 4, 13, 13, 4, 13, 4, 18, 18, 13, 13, 13, 17, 0, 13, 18, 4, 18, 18, 13, 13, 13, 39, 17, 0, 18, 13, 13,...
[ [ 12, 11 ], [ 16, 15 ], [ 23, 20 ], [ 11, 22 ], [ 28, 25 ], [ 15, 27 ], [ 69, 30 ], [ 20, 35 ], [ 11, 37 ], [ 42, 41 ], [ 20, 45 ], [ 11, 47 ], [ 55, 52 ], [ ...
[ "#\n# abc042 b\n#\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n ...
# # abc042 b # import sys from io import StringIO import unittest class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek(0) out = sys.stdout.r...
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 4, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 46, 11 ], [ 15, 14 ], [ 47, 17 ], [ 49, 22 ], [ 52, 25 ], [ 50, 28 ], [ 43, 30 ], [ 53, 35 ], [ 44, 38 ], [ 46, 41 ], [ 43, 44 ], [ 46, 47 ], [ ...
[ "N, L = map(int, input().split())\nS = [input() for i in range(N)]\n\nS_sorted = sorted(S)\nWord = ''.join(S_sorted)\n\nprint(Word)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for i...
N, L = map(int, input().split()) S = [input() for i in range(N)] S_sorted = sorted(S) Word = ''.join(S_sorted) print(Word)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 40, 11 ], [ 15, 14 ], [ 41, 17 ], [ 34, 22 ], [ 35, 29 ], [ 32, 31 ], [ 34, 35 ], [ 40, 38 ], [ 40, 41 ] ]
[ "N, L = map(int, input().split())\nS = sorted([input() for i in range(N)])\nprint(*S, sep=\"\")", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for i in range(N)", "for i in range(N)"...
N, L = map(int, input().split()) S = sorted([input() for i in range(N)]) print(*S, sep="")
[ 7, 15, 13, 15, 12, 13, 0, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 18, 13, 17, 0, 13, 4, 13, 18, 13, 17, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 13, 4,...
[ [ 8, 7 ], [ 15, 14 ], [ 7, 18 ], [ 22, 21 ], [ 7, 25 ], [ 29, 28 ], [ 32, 31 ], [ 14, 34 ], [ 37, 36 ], [ 28, 41 ], [ 36, 43 ], [ 46, 45 ], [ 49, 48 ], [ 28...
[ "import math\nfrom datetime import date\n\ndef main():\n\t\t\n\tline = input().split()\n\tn = int(line[0])\n\tk = int(line[1])\n\n\n\ta = []\n\tfor i in range(n):\n\t\ts = input()\n\t\ta.append(s)\n\n\tans = \"\";\n\tfor x in sorted(a):\n\t\tans += x\n\n\tprint(ans)\n\t\nmain()", "import math", "math", "from ...
import math from datetime import date def main(): line = input().split() n = int(line[0]) k = int(line[1]) a = [] for i in range(n): s = input() a.append(s) ans = ""; for x in sorted(a): ans += x print(ans) main()
[ 7, 0, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 18, 13, 17, 0, 13, 4, 13, 18, 13, 17, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 39, 13, 10...
[ [ 56, 2 ], [ 65, 9 ], [ 57, 13 ], [ 62, 16 ], [ 57, 20 ], [ 53, 23 ], [ 27, 26 ], [ 66, 29 ], [ 54, 32 ], [ 54, 38 ], [ 59, 41 ], [ 45, 44 ], [ 54, 44 ], [ ...
[ "nl = input().split()\n\nN = int(nl[0])\nL = int(nl[1])\n\nlst = []\n\nfor i in range(N):\n lst.append(input())\n\nlst.sort()\n\nans = ''\n\nfor s in lst:\n ans += s\n\nprint(ans)", "nl = input().split()", "nl", "input().split()", "().split", "()", "input", "split", "N = int(nl[0])", "N", "i...
nl = input().split() N = int(nl[0]) L = int(nl[1]) lst = [] for i in range(N): lst.append(input()) lst.sort() ans = '' for s in lst: ans += s print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 45, 13 ], [ 18, 17 ], [ 40, 20 ], [ 46, 23 ], [ 46, 29 ], [ 46, 34 ], [ 37, 36 ], [ 42, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "n,l = map(int,input().split())\na = list()\nfor i in range(n):\n a.append(input())\na.sort()\nprint(*a,sep=\"\")", "n,l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "a = list()", "a", "list()"...
n,l = map(int,input().split()) a = list() for i in range(n): a.append(input()) a.sort() print(*a,sep="")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 0, 13, 18, 13, 17, 28, 13, 4, 13, 17, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13...
[ [ 51, 2 ], [ 51, 11 ], [ 15, 14 ], [ 52, 17 ], [ 54, 22 ], [ 55, 26 ], [ 57, 29 ], [ 55, 31 ], [ 35, 34 ], [ 52, 38 ], [ 60, 40 ], [ 55, 42 ], [ 34, 43 ], [ ...
[ "n,l = map(int, input().split())\nstring_list =[input() for i in range(n)]\nstring_list.sort()\nans = string_list[0]\nfor i in range(1,n):\n ans += string_list[i]\nprint(ans)", "n,l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", ...
n,l = map(int, input().split()) string_list =[input() for i in range(n)] string_list.sort() ans = string_list[0] for i in range(1,n): ans += string_list[i] print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 41, 2 ], [ 41, 11 ], [ 44, 13 ], [ 17, 16 ], [ 39, 19 ], [ 45, 22 ], [ 45, 28 ], [ 45, 36 ], [ 41, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "N,L=map(int,input().split())\nS=[]\nfor i in range(N):\n S.append(input())\nS.sort()\nprint(\"\".join(S))", "N,L=map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "S=[]", "S", "[]", "for i in range(N)...
N,L=map(int,input().split()) S=[] for i in range(N): S.append(input()) S.sort() print("".join(S))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 13, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 13, 13,...
[ [ 57, 2 ], [ 57, 11 ], [ 15, 14 ], [ 58, 17 ], [ 54, 22 ], [ 48, 25 ], [ 29, 28 ], [ 58, 31 ], [ 60, 33 ], [ 55, 36 ], [ 55, 39 ], [ 55, 43 ], [ 61, 46 ], [ ...
[ "n,l = map(int,input().split())\ns = [input() for _ in range(n)]\nan = ''\nfor _ in range(n):\n an += min(s)\n s.remove(min(s))\nprint(an)", "n,l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "inp...
n,l = map(int,input().split()) s = [input() for _ in range(n)] an = '' for _ in range(n): an += min(s) s.remove(min(s)) print(an)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, ...
[ [ 49, 2 ], [ 49, 11 ], [ 15, 14 ], [ 50, 17 ], [ 52, 25 ], [ 55, 30 ], [ 34, 33 ], [ 50, 36 ], [ 58, 38 ], [ 53, 40 ], [ 33, 41 ], [ 59, 44 ], [ 56, 44 ], [ ...
[ "N,L = map(int,input().split())\nS = sorted([input().strip() for _ in range(N)])\nx = \"\"\nfor i in range(N):\n x += S[i]\nprint(x)", "N,L = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input().stri...
N,L = map(int,input().split()) S = sorted([input().strip() for _ in range(N)]) x = "" for i in range(N): x += S[i] print(x)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 39, 2 ], [ 39, 11 ], [ 15, 14 ], [ 37, 17 ], [ 42, 22 ], [ 43, 26 ], [ 43, 34 ], [ 39, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "N,L = map(int, input().split())\nA = [input() for _ in range(N)]\nA.sort()\nprint(\"\".join(A))\n\n", "N,L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for _ in range(N)", "for _ in range...
N,L = map(int, input().split()) A = [input() for _ in range(N)] A.sort() print("".join(A))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 13, 13, 10, 17, 13, 10, 4, 13, 10, 39, 13, 1...
[ [ 59, 2 ], [ 59, 11 ], [ 53, 13 ], [ 17, 16 ], [ 60, 19 ], [ 54, 22 ], [ 56, 27 ], [ 54, 30 ], [ 47, 32 ], [ 36, 35 ], [ 57, 35 ], [ 44, 38 ], [ 35, 39 ], [ ...
[ "N,L = map(int,input().split())\nmoji = []\nfor i in range(N):\n moji.append(input())\nsort_moji = sorted(moji)\nans = ''\nfor i in sort_moji:\n ans += i\nprint(ans)", "N,L = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input...
N,L = map(int,input().split()) moji = [] for i in range(N): moji.append(input()) sort_moji = sorted(moji) ans = '' for i in sort_moji: ans += i print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 4, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 4, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 15, 14 ], [ 51, 17 ], [ 47, 22 ], [ 44, 25 ], [ 48, 28 ], [ 31, 30 ], [ 45, 30 ], [ 48, 30 ], [ 30, 34 ], [ 37, 36 ], [ 50, 42 ], [ ...
[ "n, l = map(int, input().split())\nss = [input() for i in range(n)]\nss = sorted(ss)\n\nfor s in ss:\n print(s, end=\"\")\nprint()", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for...
n, l = map(int, input().split()) ss = [input() for i in range(n)] ss = sorted(ss) for s in ss: print(s, end="") print()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 40, 11 ], [ 15, 14 ], [ 38, 17 ], [ 34, 22 ], [ 35, 32 ], [ 34, 35 ], [ 40, 38 ], [ 40, 41 ] ]
[ "N, L = map(int, input().split())\nSs = [input() for i in range(N)]\nprint(''.join(sorted(Ss)))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for i in range(N)", "for i in range(N)"...
N, L = map(int, input().split()) Ss = [input() for i in range(N)] print(''.join(sorted(Ss)))
[ 7, 12, 13, 29, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 29, 13, 23, 13, 0, 13, 4, 13, 13, 0, 13, 4, 13, 13, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 12, 13...
[ [ 19, 18 ], [ 28, 21 ], [ 28, 28 ], [ 63, 30 ], [ 55, 32 ], [ 63, 33 ], [ 69, 35 ], [ 67, 37 ], [ 58, 38 ], [ 70, 41 ], [ 60, 44 ], [ 70, 49 ], [ 61, 52 ], [ ...
[ "def LI():\n return list(map(int, input().split()))\n\n\ndef LSH(h):\n return [input() for _ in range(h)]\n\n\nN, L = LI()\nS = LSH(N)\nS.sort()\nS = ''.join(S)\nprint(S)", "def LI():\n return list(map(int, input().split()))", "LI", "return list(map(int, input().split()))", "list(map(int, input().s...
def LI(): return list(map(int, input().split())) def LSH(h): return [input() for _ in range(h)] N, L = LI() S = LSH(N) S.sort() S = ''.join(S) print(S)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 47, 13 ], [ 17, 16 ], [ 51, 19 ], [ 48, 22 ], [ 48, 28 ], [ 41, 31 ], [ 48, 36 ], [ 42, 39 ], [ 41, 42 ], [ 50, 45 ], [ 47, 48 ], [ ...
[ "n,l=map(int,input().split())\ns=[]\nfor _ in range(n):\n s.append(input())\ns.sort()\nss=\"\".join(s)\nprint(ss)", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "s=[]", "s", "[]", "for _ in...
n,l=map(int,input().split()) s=[] for _ in range(n): s.append(input()) s.sort() ss="".join(s) print(ss)
[ 7, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 17, 16 ], [ 4, 19 ], [ 25, 24 ], [ 24, 34 ], [ 43, 40 ] ]
[ "def main():\n N,L=map(int,input().split())\n a=[input() for _ in range(N)]\n print(''.join(sorted(a)))\n\nif __name__==\"__main__\":\n main()", "def main():\n N,L=map(int,input().split())\n a=[input() for _ in range(N)]\n print(''.join(sorted(a)))", "main", "N,L=map(int,input().split())", "N", "ma...
def main(): N,L=map(int,input().split()) a=[input() for _ in range(N)] print(''.join(sorted(a))) if __name__=="__main__": main()
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 41, 2 ], [ 41, 11 ], [ 15, 14 ], [ 42, 17 ], [ 44, 22 ], [ 45, 26 ], [ 30, 29 ], [ 45, 29 ], [ 29, 33 ], [ 36, 35 ], [ 41, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "n,l=map(int,input().split())\ns=[input() for _ in range(n)]\ns.sort()\n\nfor i in s:\n print(i,end=\"\")", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for _ in range(n)", "for _ in ran...
n,l=map(int,input().split()) s=[input() for _ in range(n)] s.sort() for i in s: print(i,end="")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 4, 13, 4, 13, 31, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 34, 11 ], [ 31, 13 ], [ 32, 23 ], [ 26, 25 ], [ 34, 29 ], [ 31, 32 ], [ 34, 35 ] ]
[ "n, l = map(int, input().split())\nsl = sorted(list(input() for _ in range(n)))\n\nprint(*sl, sep='')", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "sl = sorted(list(input() for _ in range(n))...
n, l = map(int, input().split()) sl = sorted(list(input() for _ in range(n))) print(*sl, sep='')
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 4, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 48, 11 ], [ 45, 13 ], [ 17, 16 ], [ 40, 19 ], [ 46, 22 ], [ 42, 27 ], [ 46, 30 ], [ 43, 37 ], [ 46, 37 ], [ 48, 40 ], [ 42, 43 ], [ 45, 46 ], [ ...
[ "N, L = map(int, input().split())\ns = []\nfor i in range(N):\n s.append(input())\n \ns = sorted(s)\n\nprint(\"\".join(s))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "s = []", "s", "[...
N, L = map(int, input().split()) s = [] for i in range(N): s.append(input()) s = sorted(s) print("".join(s))
[ 7, 0, 13, 4, 18, 4, 13, 13, 0, 13, 39, 28, 13, 4, 13, 4, 13, 18, 13, 17, 4, 18, 13, 13, 4, 13, 4, 13, 0, 13, 4, 18, 17, 13, 4, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 47, 2 ], [ 44, 9 ], [ 13, 12 ], [ 48, 18 ], [ 45, 22 ], [ 41, 29 ], [ 45, 36 ], [ 42, 39 ], [ 45, 39 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "info = input().split()\nlst = []\nfor i in range(int(info[0])):\n lst.append(str(input()))\nlst = \"\".join(sorted(lst))\nprint((lst))", "info = input().split()", "info", "input().split()", "().split", "()", "input", "split", "lst = []", "lst", "[]", "for i in range(int(info[0])):\n lst.app...
info = input().split() lst = [] for i in range(int(info[0])): lst.append(str(input())) lst = "".join(sorted(lst)) print((lst))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13, 10, 39, 13, 10, 1...
[ [ 49, 2 ], [ 49, 11 ], [ 52, 13 ], [ 17, 16 ], [ 44, 19 ], [ 53, 22 ], [ 53, 28 ], [ 55, 31 ], [ 35, 34 ], [ 53, 34 ], [ 46, 37 ], [ 34, 38 ], [ 47, 41 ], [ ...
[ "N,L=map(int,input().split())\nS=[]\nfor i in range(N):\n S.append(input())\n \nS.sort()\nA=''\nfor i in S:\n A+=i\nprint(A)", "N,L=map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "S=[]", "S", ...
N,L=map(int,input().split()) S=[] for i in range(N): S.append(input()) S.sort() A='' for i in S: A+=i print(A)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 17, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 39, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 1...
[ [ 53, 2 ], [ 53, 11 ], [ 44, 13 ], [ 17, 16 ], [ 48, 20 ], [ 45, 23 ], [ 45, 29 ], [ 50, 32 ], [ 36, 35 ], [ 45, 35 ], [ 56, 38 ], [ 35, 39 ], [ 57, 42 ], [ ...
[ "n,l=map(int,input().split())\na=[]\nfor i in range(0,n):\n\ta.append(input())\na.sort()\nans=\"\"\nfor i in a:\n\tans+=i\nprint(ans)", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "a=[]", "a", ...
n,l=map(int,input().split()) a=[] for i in range(0,n): a.append(input()) a.sort() ans="" for i in a: ans+=i print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 0, 13, 17, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 4, 13, 13, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13,...
[ [ 54, 2 ], [ 54, 11 ], [ 48, 13 ], [ 63, 16 ], [ 20, 19 ], [ 55, 22 ], [ 49, 25 ], [ 60, 30 ], [ 49, 33 ], [ 36, 35 ], [ 55, 38 ], [ 57, 40 ], [ 61, 42 ], [ ...
[ "n,l=map(int,input().split())\ns=[]\nss=''\nfor i in range(n):\n\ts.append(input())\ns=sorted(s)\nfor i in range(n):\n\tss+=s[i]\nprint(ss)", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "s=[]", "...
n,l=map(int,input().split()) s=[] ss='' for i in range(n): s.append(input()) s=sorted(s) for i in range(n): ss+=s[i] print(ss)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13, 10, 18, 1...
[ [ 57, 2 ], [ 57, 11 ], [ 15, 14 ], [ 58, 17 ], [ 45, 22 ], [ 46, 26 ], [ 51, 29 ], [ 33, 32 ], [ 58, 35 ], [ 54, 37 ], [ 46, 39 ], [ 32, 40 ], [ 55, 43 ], [ ...
[ "n,l=map(int,input().split())\nli=[input() for _ in range(n)]\nli.sort()\nres=\"\"\nfor i in range(n):\n res+=li[i]\nprint(res)", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for _ in ra...
n,l=map(int,input().split()) li=[input() for _ in range(n)] li.sort() res="" for i in range(n): res+=li[i] print(res)
[ 7, 0, 13, 4, 18, 4, 18, 4, 13, 17, 13, 13, 13, 31, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 13, 4, 13, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 36, 12 ], [ 36, 13 ], [ 39, 16 ], [ 20, 19 ], [ 30, 24 ], [ 19, 25 ], [ 31, 28 ], [ 40, 28 ], [ 19, 30 ], [ 30, 31 ], [ 36, 34 ], [ 36, 37 ], [ ...
[ "N,L,*Ss =open(0).read().split()\n\nans = \"\"\nfor s in sorted(Ss):\n ans+=s\nprint(ans)", "N,L,*Ss =open(0).read().split()", "N", "open(0).read().split()", "(0).read().split", "(0).read()", "(0).read", "(0)", "open", "0", "read", "split", "L", "*Ss", "Ss", "ans = \"\"", "ans", "...
N,L,*Ss =open(0).read().split() ans = "" for s in sorted(Ss): ans+=s print(ans)
[ 7, 15, 13, 0, 13, 4, 13, 13, 4, 18, 4, 18, 4, 18, 18, 13, 13, 13, 13, 17, 13, 13, 41, 28, 13, 18, 13, 13, 4, 4, 18, 13, 13, 17, 0, 13, 13, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 13, 13, 10, ...
[ [ 61, 4 ], [ 61, 21 ], [ 25, 24 ], [ 24, 31 ], [ 52, 35 ], [ 53, 39 ], [ 58, 42 ], [ 53, 47 ], [ 59, 50 ], [ 52, 53 ], [ 61, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "import sys\nn,k = map(int, sys.stdin.readline().rstrip(\"\\n\").split())\nl = [line.rstrip(\"\\n\") for line in sys.stdin]\nl.sort()\ns = ''.join(l)\nprint(s)", "import sys", "sys", "n,k = map(int, sys.stdin.readline().rstrip(\"\\n\").split())", "n", "map(int, sys.stdin.readline().rstrip(\"\\n\").split()...
import sys n,k = map(int, sys.stdin.readline().rstrip("\n").split()) l = [line.rstrip("\n") for line in sys.stdin] l.sort() s = ''.join(l) print(s)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 2, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13,...
[ [ 57, 2 ], [ 57, 11 ], [ 54, 13 ], [ 17, 16 ], [ 52, 19 ], [ 55, 22 ], [ 55, 30 ], [ 63, 33 ], [ 37, 36 ], [ 52, 39 ], [ 60, 41 ], [ 64, 43 ], [ 61, 43 ], [ ...
[ "n,l = map(int,input().split()) \ns = []\nfor i in range(n) :\n s.append(str(input())) \n\ns.sort() \nans = \"\"\nfor i in range(n):\n ans = ans + s[i]\nprint(ans)", "n,l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", ...
n,l = map(int,input().split()) s = [] for i in range(n) : s.append(str(input())) s.sort() ans = "" for i in range(n): ans = ans + s[i] print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 34, 11 ], [ 15, 14 ], [ 35, 17 ], [ 34, 32 ], [ 34, 35 ] ]
[ "n,l = map(int, input().split())\nprint(\"\".join(sorted([input() for _ in range(n)])))", "n,l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for _ in range(n)", "for _ in range(n)", "_", ...
n,l = map(int, input().split()) print("".join(sorted([input() for _ in range(n)])))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13,...
[ [ 54, 2 ], [ 54, 11 ], [ 15, 14 ], [ 55, 17 ], [ 57, 22 ], [ 51, 25 ], [ 58, 28 ], [ 42, 30 ], [ 34, 33 ], [ 52, 33 ], [ 45, 36 ], [ 33, 37 ], [ 46, 40 ], [ ...
[ "N, L = map(int, input().split())\nSn = [input() for _ in range(N)]\n\nSn_sort = sorted(Sn)\nans = \"\"\n\nfor i in Sn_sort:\n ans += i\n\nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", ...
N, L = map(int, input().split()) Sn = [input() for _ in range(N)] Sn_sort = sorted(Sn) ans = "" for i in Sn_sort: ans += i print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 17, 13, 0, 13, 39, 28, 13, 4, 13, 17, 13, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 48, 12 ], [ 45, 14 ], [ 18, 17 ], [ 43, 21 ], [ 46, 24 ], [ 46, 32 ], [ 46, 40 ], [ 48, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "n, l = map(int, input().split(\" \"))\ns = []\nfor i in range(0, n):\n s.append(str(input()))\ns.sort()\nprint(''.join(s))", "n, l = map(int, input().split(\" \"))", "n", "map(int, input().split(\" \"))", "map", "int", "input().split(\" \")", "().split", "()", "input", "split", "\" \"", ...
n, l = map(int, input().split(" ")) s = [] for i in range(0, n): s.append(str(input())) s.sort() print(''.join(s))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 13, 13, 10, 3...
[ [ 46, 2 ], [ 46, 11 ], [ 55, 13 ], [ 17, 16 ], [ 47, 19 ], [ 56, 22 ], [ 56, 28 ], [ 49, 31 ], [ 35, 34 ], [ 56, 34 ], [ 52, 37 ], [ 34, 38 ], [ 53, 41 ], [ ...
[ "N, L = map(int, input().split())\nS = []\nfor i in range(N):\n S.append(input())\nS.sort()\nans = \"\"\nfor s in S:\n ans += s\nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "S =...
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() ans = "" for s in S: ans += s print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 37, 2 ], [ 37, 11 ], [ 15, 14 ], [ 35, 17 ], [ 40, 22 ], [ 41, 32 ], [ 37, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "x, y = map(int, input().split())\ns = sorted([input () for i in range(x)])\nprint(\"\".join(s))", "x, y = map(int, input().split())", "x", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "y", "input () for i in range(x)", "for i in range(x...
x, y = map(int, input().split()) s = sorted([input () for i in range(x)]) print("".join(s))
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 0, 13, 4, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, ...
[ [ 62, 2 ], [ 62, 13 ], [ 59, 15 ], [ 19, 18 ], [ 63, 21 ], [ 53, 23 ], [ 60, 28 ], [ 54, 30 ], [ 47, 32 ], [ 60, 35 ], [ 50, 37 ], [ 48, 42 ], [ 51, 45 ], [ ...
[ "N, LEN = list(map(int, input().split()))\na = []\nfor i in range(N):\n s = input()\n a.append(s)\nb = sorted(a)\nans = \"\".join(b)\nprint(ans)", "N, LEN = list(map(int, input().split()))", "N", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().spl...
N, LEN = list(map(int, input().split())) a = [] for i in range(N): s = input() a.append(s) b = sorted(a) ans = "".join(b) print(ans)
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 13, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 45, 14 ], [ 45, 16 ], [ 20, 19 ], [ 46, 22 ], [ 42, 27 ], [ 43, 37 ], [ 45, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "n, l = [int(x) for x in input().split()]\ns_list = sorted([input() for _ in range(n)])\nprint(\"\".join(s_list))", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)", "int", "x", "...
n, l = [int(x) for x in input().split()] s_list = sorted([input() for _ in range(n)]) print("".join(s_list))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 0, 13, 4, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 54, 2 ], [ 54, 11 ], [ 42, 13 ], [ 17, 16 ], [ 49, 19 ], [ 51, 21 ], [ 43, 26 ], [ 52, 28 ], [ 45, 30 ], [ 43, 33 ], [ 46, 40 ], [ 43, 40 ], [ 42, 43 ], [ ...
[ "n, l = map(int, input().split())\ns = []\nfor i in range(n):\n a = input()\n s.append(a)\n\ns = sorted(s)\nprint(\"\".join(s))", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "s = []", "s",...
n, l = map(int, input().split()) s = [] for i in range(n): a = input() s.append(a) s = sorted(s) print("".join(s))
[ 7, 15, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 13, 13, 13, 0, 13, 12, 4, 13, 4, 13, 13, 4, 18, 4, 18, 13, 13, 13, 0, 13, 4, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, ...
[ [ 68, 3 ], [ 71, 16 ], [ 65, 31 ], [ 69, 33 ], [ 65, 34 ], [ 38, 37 ], [ 60, 40 ], [ 62, 45 ], [ 63, 49 ], [ 63, 57 ], [ 65, 60 ], [ 62, 63 ], [ 65, 66 ], [ ...
[ "from sys import stdin\nnii=lambda:map(int,stdin.readline().split())\nlnii=lambda:list(map(int,stdin.readline().split()))\n\nn,l=nii()\ns=[input() for i in range(n)]\ns.sort()\n\nprint(''.join(s))", "from sys import stdin", "nii=lambda:map(int,stdin.readline().split())", "nii", "lambda:map(int,stdin.readlin...
from sys import stdin nii=lambda:map(int,stdin.readline().split()) lnii=lambda:list(map(int,stdin.readline().split())) n,l=nii() s=[input() for i in range(n)] s.sort() print(''.join(s))
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 41, 28, 13, 4, 13, 13, 4, 4, 18, 4, 13, 13, 0, 13, 13, 0, 13, 4, 13, 13, 0, 13, 12, 18, 13, 39, 17, 23, 0, 13...
[ [ 76, 4 ], [ 14, 13 ], [ 77, 20 ], [ 14, 22 ], [ 25, 24 ], [ 29, 28 ], [ 13, 31 ], [ 77, 36 ], [ 40, 39 ], [ 43, 42 ], [ 39, 45 ], [ 24, 45 ], [ 48, 47 ], [ ...
[ "#-*-coding:utf-8-*-\nimport sys\ninput=sys.stdin.readline\n\ndef main():\n n,l = map(int,input().split())\n words=[]\n words=[input().rstrip() for _ in range(n)]\n s_words=sorted(words,key=lambda x:x[0:])\n ans=\"\"\n\n for s_word in s_words:\n ans+=s_word\n print(ans)\nif __name__==\"_...
#-*-coding:utf-8-*- import sys input=sys.stdin.readline def main(): n,l = map(int,input().split()) words=[] words=[input().rstrip() for _ in range(n)] s_words=sorted(words,key=lambda x:x[0:]) ans="" for s_word in s_words: ans+=s_word print(ans) if __name__=="__main__": main()
[ 7, 15, 13, 0, 13, 12, 4, 13, 4, 18, 18, 13, 13, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 4, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13,...
[ [ 89, 4 ], [ 104, 15 ], [ 107, 30 ], [ 105, 35 ], [ 98, 37 ], [ 95, 52 ], [ 99, 57 ], [ 101, 59 ], [ 105, 61 ], [ 101, 62 ], [ 110, 64 ], [ 68, 67 ], [ 93, 70 ], ...
[ "import sys\n\n\ninint = lambda: int(sys.stdin.readline())\ninintm = lambda: map(int, sys.stdin.readline().split())\ninintl = lambda: list(inintm())\ninstrm = lambda: map(str, sys.stdin.readline().split())\ninstrl = lambda: list(instrm())\n\nn, l = inintm()\n\ns = []\n\nfor _ in range(n):\n s.append(input())\n\n...
import sys inint = lambda: int(sys.stdin.readline()) inintm = lambda: map(int, sys.stdin.readline().split()) inintl = lambda: list(inintm()) instrm = lambda: map(str, sys.stdin.readline().split()) instrl = lambda: list(instrm()) n, l = inintm() s = [] for _ in range(n): s.append(input()) s.sort() print("".jo...
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 2, 39, 17, 13, 28, 13, 4, 13, 13, 0, 18, 13, 13, 4, 13, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 2, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 53, 11 ], [ 47, 13 ], [ 45, 17 ], [ 20, 19 ], [ 45, 22 ], [ 27, 24 ], [ 48, 25 ], [ 19, 26 ], [ 48, 31 ], [ 50, 34 ], [ 48, 39 ], [ 51, 42 ], [ ...
[ "N, L = map(int, input().split())\nS = [0] * N\nfor i in range(N):\n S[i] = input()\n\nS.sort()\nans = \"\".join(S)\nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "S = [0] * N", ...
N, L = map(int, input().split()) S = [0] * N for i in range(N): S[i] = input() S.sort() ans = "".join(S) print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, ...
[ [ 57, 2 ], [ 57, 11 ], [ 54, 13 ], [ 18, 17 ], [ 58, 20 ], [ 66, 22 ], [ 55, 27 ], [ 67, 29 ], [ 55, 32 ], [ 63, 35 ], [ 39, 38 ], [ 58, 41 ], [ 60, 43 ], [ ...
[ "n, l = map(int, input().split( ))\nt = list()\nfor i in range(n):\n s = input()\n t.append(s)\nt.sort()\nans = \"\"\nfor j in range(n):\n ans += t[j]\nprint(ans)", "n, l = map(int, input().split( ))", "n", "map(int, input().split( ))", "map", "int", "input().split( )", "().split", "()", ...
n, l = map(int, input().split( )) t = list() for i in range(n): s = input() t.append(s) t.sort() ans = "" for j in range(n): ans += t[j] print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 39, 13 ], [ 17, 16 ], [ 37, 19 ], [ 40, 22 ], [ 40, 34 ], [ 42, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "N, L = map(int, input().split())\nstr_list = []\nfor i in range(N):\n str_list.append(input())\n\nprint(\"\".join(sorted(str_list)))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "str_list =...
N, L = map(int, input().split()) str_list = [] for i in range(N): str_list.append(input()) print("".join(sorted(str_list)))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 2, 39, 13, 0, 13, 17, 0, 13, 17, 0, 13, 2, 39, 13, 0, 13, 2, 39, 13, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 28, 13, 4, 13, 13, 0, 13, 18, ...
[ [ 83, 2 ], [ 83, 11 ], [ 65, 13 ], [ 81, 16 ], [ 68, 18 ], [ 74, 21 ], [ 77, 24 ], [ 81, 27 ], [ 62, 29 ], [ 81, 32 ], [ 35, 34 ], [ 81, 37 ], [ 66, 40 ], [ ...
[ "N,L=map(int,input().split())\nX=[]*N\nB=0\nAns=\"\"\nx=[]*N\ns=[]*N\nfor i in range(N):\n X.append(input())\n \nX.sort()\n\nfor i in range(N):\n Ans+=(X[i])\n\nprint(Ans)", "N,L=map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "i...
N,L=map(int,input().split()) X=[]*N B=0 Ans="" x=[]*N s=[]*N for i in range(N): X.append(input()) X.sort() for i in range(N): Ans+=(X[i]) print(Ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 51, 11 ], [ 45, 13 ], [ 17, 16 ], [ 49, 19 ], [ 46, 22 ], [ 54, 27 ], [ 46, 30 ], [ 42, 32 ], [ 55, 37 ], [ 43, 40 ], [ 42, 43 ], [ 45, 46 ], [ ...
[ "# -*- coding: utf-8 -*-\n\nN, L = map(int, input().split())\nS = []\nfor i in range(N):\n S.append(input())\n\nS_sorted = sorted(S)\nans = \"\".join(S_sorted)\nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", ...
# -*- coding: utf-8 -*- N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S_sorted = sorted(S) ans = "".join(S_sorted) print(ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 39, 2 ], [ 39, 11 ], [ 15, 14 ], [ 37, 17 ], [ 42, 22 ], [ 43, 26 ], [ 43, 34 ], [ 39, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "N, L = map(int, input().split())\nS = [input() for _ in range(N)]\nS.sort()\nprint(''.join(S))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for _ in range(N)", "for _ in range(N)"...
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 4, 18, 13, 13, 0, 13, 18, 13, 17, 28, 13, 4, 13, 17, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 18, 13...
[ [ 51, 2 ], [ 51, 11 ], [ 15, 14 ], [ 52, 17 ], [ 60, 22 ], [ 61, 26 ], [ 57, 29 ], [ 61, 31 ], [ 35, 34 ], [ 52, 38 ], [ 54, 40 ], [ 61, 42 ], [ 34, 43 ], [ ...
[ "N,L = map(int, input().split())\nS = [input() for l in range(N)]\n\nS.sort()\n\ns1 = S[0]\n\nfor i in range(1,N):\n s1 += S[i]\n \nprint(s1)", "N,L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "in...
N,L = map(int, input().split()) S = [input() for l in range(N)] S.sort() s1 = S[0] for i in range(1,N): s1 += S[i] print(s1)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 4, 13, 0, 13, 4, 13, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 18, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 41, 13 ], [ 38, 21 ], [ 26, 25 ], [ 51, 28 ], [ 47, 30 ], [ 42, 32 ], [ 25, 33 ], [ 48, 36 ], [ 39, 36 ], [ 38, 39 ], [ 41, 42 ], [ ...
[ "N, L = map(int, input().split())\nS = sorted(list(input() for i in range(N)))\nans = str()\nfor i in range(N):\n ans += S[i]\nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "S = ...
N, L = map(int, input().split()) S = sorted(list(input() for i in range(N))) ans = str() for i in range(N): ans += S[i] print(ans)
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 12, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 2, 13, 13, 0, 13, 17, 3, 29, 2, 13, 13, 23, 13, 23, 13, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, ...
[ [ 127, 4 ], [ 14, 13 ], [ 34, 20 ], [ 36, 24 ], [ 27, 26 ], [ 26, 32 ], [ 13, 32 ], [ 34, 34 ], [ 36, 36 ], [ 41, 40 ], [ 128, 47 ], [ 41, 49 ], [ 52, 51 ], [ ...
[ "import sys\ninput = sys.stdin.readline\n\ndef find_where( List , word ):\n flag = 1\n for i , list_i in enumerate(List):\n if list_i > word:\n flag = 0\n break\n return i + flag\n\ndef main():\n n , l = map( int, input().split() )\n I = []\n for i in range(n):\n ...
import sys input = sys.stdin.readline def find_where( List , word ): flag = 1 for i , list_i in enumerate(List): if list_i > word: flag = 0 break return i + flag def main(): n , l = map( int, input().split() ) I = [] for i in range(n): s = str(input()) ...
[ 7, 15, 0, 13, 18, 13, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 18, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 18, 13, 10, 4, 13, 10...
[ [ 50, 3 ], [ 53, 8 ], [ 51, 15 ], [ 53, 17 ], [ 56, 19 ], [ 23, 22 ], [ 48, 25 ], [ 57, 28 ], [ 51, 33 ], [ 57, 37 ], [ 57, 45 ], [ 53, 48 ], [ 50, 51 ], [ ...
[ "from sys import stdin\ninput = stdin.readline\n\nN, L = map(int, input().split())\nD = []\n\nfor i in range(N):\n D.append(input().strip())\nD.sort()\nprint(''.join(D))", "from sys import stdin", "input = stdin.readline", "input", "stdin.readline", "stdin", "readline", "N, L = map(int, input().spl...
from sys import stdin input = stdin.readline N, L = map(int, input().split()) D = [] for i in range(N): D.append(input().strip()) D.sort() print(''.join(D))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 39, 13 ], [ 17, 16 ], [ 37, 19 ], [ 40, 22 ], [ 40, 34 ], [ 42, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "N, L = map(int, input().split())\ns = []\nfor i in range(N):\n s.append(input())\nprint(''.join(sorted(s)))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "s = []", "s", "[]", "for i in...
N, L = map(int, input().split()) s = [] for i in range(N): s.append(input()) print(''.join(sorted(s)))
[ 7, 15, 15, 15, 15, 13, 15, 13, 15, 13, 4, 18, 13, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 29, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 12, 13, 29, 4, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4...
[ [ 89, 16 ], [ 107, 43 ], [ 96, 45 ], [ 107, 46 ], [ 86, 48 ], [ 52, 51 ], [ 99, 54 ], [ 87, 57 ], [ 104, 62 ], [ 87, 65 ], [ 92, 67 ], [ 71, 70 ], [ 99, 73 ], [...
[ "#from statistics import median\n#import collections\n#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]\nfrom fractions import gcd\nfrom itertools import combinations,permutations,accumulate # (string,3) 3回\n#from collections import deque\nfrom collections import deque,defaultdict,C...
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from fractions import gcd from itertools import combinations,permutations,accumulate # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Counter impo...
[ 7, 12, 13, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 29, 13, 14, 2, 18, 13, 13, 18, 13, 13, 29, 13, 29, 13, 23, 13, 23, 13, 12, 13, 28, 13, 4, 13, 4, 13, 13, 0, 13, 2, 17, 13, 0, 13, 17, 28, 13...
[ [ 5, 4 ], [ 33, 9 ], [ 33, 13 ], [ 4, 14 ], [ 35, 16 ], [ 4, 17 ], [ 33, 19 ], [ 33, 23 ], [ 4, 24 ], [ 35, 26 ], [ 4, 27 ], [ 35, 29 ], [ 33, 31 ], [ 33, ...
[ "def check(s1, s2):\n for i in range(len(s1)):\n if s1[i] < s2[i]:\n return s1\n elif s1[i] > s2[i]:\n return s2\n return s1\n \n\ndef s(a, l):\n for i in range(len(a)):\n m_step = 'z' * l\n ind = -1\n for j in range(i, len(a)):\n m...
def check(s1, s2): for i in range(len(s1)): if s1[i] < s2[i]: return s1 elif s1[i] > s2[i]: return s2 return s1 def s(a, l): for i in range(len(a)): m_step = 'z' * l ind = -1 for j in range(i, len(a)): m_step = check(m_ste...
[ 7, 12, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 6, 5 ], [ 5, 14 ], [ 17, 16 ], [ 17, 18 ], [ 21, 20 ], [ 24, 23 ], [ 16, 26 ], [ 20, 29 ], [ 20, 41 ], [ 50, 47 ] ]
[ "def solve():\n N, L = [int(i) for i in input().split()]\n S = []\n for _ in range(N):\n S.append(input())\n print(''.join(sorted(S)))\n\nif __name__ == \"__main__\":\n solve()", "def solve():\n N, L = [int(i) for i in input().split()]\n S = []\n for _ in range(N):\n S.append...
def solve(): N, L = [int(i) for i in input().split()] S = [] for _ in range(N): S.append(input()) print(''.join(sorted(S))) if __name__ == "__main__": solve()
[ 7, 15, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 46, 4 ], [ 46, 13 ], [ 43, 15 ], [ 19, 18 ], [ 47, 21 ], [ 44, 24 ], [ 44, 30 ], [ 44, 38 ], [ 46, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "# bsdk idhar kya dekhne ko aaya hai, khud kr!!!\n# import math\n# from itertools import *\n# import random\n# import calendar\nimport datetime\n# import webbrowser\n\n# f = open(\"input.txt\", 'r')\n# g = open(\"output.txt\", 'w')\n# n, m = map(int, f.readline().split())\n\nn, k = map(int, input().split())\narr = ...
# bsdk idhar kya dekhne ko aaya hai, khud kr!!! # import math # from itertools import * # import random # import calendar import datetime # import webbrowser # f = open("input.txt", 'r') # g = open("output.txt", 'w') # n, m = map(int, f.readline().split()) n, k = map(int, input().split()) arr = [] for i in range(n): ...
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 47, 13 ], [ 17, 16 ], [ 51, 19 ], [ 41, 21 ], [ 48, 26 ], [ 42, 28 ], [ 48, 31 ], [ 48, 39 ], [ 41, 42 ], [ 50, 45 ], [ 47, 48 ], [ ...
[ "n, l = map(int, input().split())\nlist = []\nfor i in range(n) :\n s = input()\n list.append(s)\nlist.sort()\nprint(\"\".join(list))", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "list ...
n, l = map(int, input().split()) list = [] for i in range(n) : s = input() list.append(s) list.sort() print("".join(list))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 33, 2 ], [ 33, 11 ], [ 16, 15 ], [ 34, 18 ], [ 33, 31 ], [ 33, 34 ] ]
[ "n,l = map(int, raw_input().split())\nprint ''.join(sorted([raw_input() for _ in range(n)]))", "n,l = map(int, raw_input().split())", "n", "map(int, raw_input().split())", "map", "int", "raw_input().split()", "().split", "()", "raw_input", "split", "l", "print", "raw_input() for _ in range...
n,l = map(int, raw_input().split()) print ''.join(sorted([raw_input() for _ in range(n)]))