node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 12, 13, 4, 13, 31, 13, 0, 13, 18, 13, 13, 23, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 18, 4, 13, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 18, 4, 13, 13, 0, 13, 13, 4, 13, 4...
[ [ 69, 4 ], [ 18, 17 ], [ 26, 25 ], [ 70, 34 ], [ 26, 37 ], [ 41, 40 ], [ 25, 43 ], [ 70, 48 ], [ 52, 51 ], [ 51, 61 ], [ 76, 67 ], [ 69, 70 ] ]
[ "import sys\ninput = sys.stdin.readline\n\n\ndef log(*args):\n print(*args, file=sys.stderr)\n\n\ndef main():\n N, _L = map(int, input().rstrip().split())\n s = [input().rstrip() for _ in range(N)]\n print(''.join(sorted(s)))\n\n\nif __name__ == '__main__':\n main()", "import sys", "sys", "inpu...
import sys input = sys.stdin.readline def log(*args): print(*args, file=sys.stderr) def main(): N, _L = map(int, input().rstrip().split()) s = [input().rstrip() for _ in range(N)] print(''.join(sorted(s))) if __name__ == '__main__': main()
[ 7, 0, 13, 4, 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 ]
[ [ 42, 2 ], [ 42, 13 ], [ 17, 16 ], [ 37, 19 ], [ 39, 24 ], [ 40, 34 ], [ 42, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "N, L = list(map(int, input().split()))\nS = sorted([input() for i in range(N)])\n\nprint(\"\".join(S))", "N, L = list(map(int, input().split()))", "N", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split"...
N, L = list(map(int, input().split())) S = sorted([input() for i in range(N)]) 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, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 48, 11 ], [ 15, 14 ], [ 40, 17 ], [ 45, 22 ], [ 46, 26 ], [ 42, 29 ], [ 46, 34 ], [ 43, 37 ], [ 48, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "n, l = map(int, input().split())\ns = [input() for _ in range(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", "input() for _ in range(n)", "for _ i...
n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() ans = ''.join(s) 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, 4, 13, 13, 4, 13, 4, 18, 17, 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 ] ]
[ "#!/usr/bin/env python3\n\ndef main():\n n, l = map(int, input().split())\n s = sorted([input() for i in range(n)])\n print(\"\".join(s))\n\n\nif __name__ == \"__main__\":\n main()", "def main():\n n, l = map(int, input().split())\n s = sorted([input() for i in range(n)])\n print(\"\".join(s)...
#!/usr/bin/env python3 def main(): n, l = map(int, input().split()) s = sorted([input() for i in range(n)]) print("".join(s)) 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, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 39, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13, 10, ...
[ [ 55, 2 ], [ 55, 11 ], [ 43, 13 ], [ 17, 16 ], [ 56, 19 ], [ 44, 22 ], [ 44, 28 ], [ 52, 31 ], [ 35, 34 ], [ 44, 34 ], [ 46, 37 ], [ 34, 38 ], [ 47, 41 ], [ ...
[ "H, W = map(int, input().split())\nS = []\nfor _ in range(H):\n S.append(input())\n\nS.sort()\n#print(S)\nS_out=''\nfor ii in S:\n S_out += ii\nprint(S_out)", "H, W = map(int, input().split())", "H", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "sp...
H, W = map(int, input().split()) S = [] for _ in range(H): S.append(input()) S.sort() #print(S) S_out='' for ii in S: S_out += ii print(S_out)
[ 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 ]
[ [ 44, 2 ], [ 44, 11 ], [ 47, 13 ], [ 17, 16 ], [ 42, 19 ], [ 50, 21 ], [ 48, 26 ], [ 51, 28 ], [ 48, 31 ], [ 48, 39 ], [ 44, 42 ], [ 44, 45 ], [ 47, 48 ], [ ...
[ "N, L = map(int, input().split())\nres = []\nfor i in range(N):\n S = input()\n res.append(S)\n\nres.sort()\n\nprint(''.join(res))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "res = []...
N, L = map(int, input().split()) res = [] for i in range(N): S = input() res.append(S) res.sort() print(''.join(res))
[ 7, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 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, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 29, ...
[ [ 17, 16 ], [ 17, 25 ], [ 29, 28 ], [ 16, 31 ], [ 37, 36 ], [ 40, 39 ], [ 25, 42 ], [ 36, 45 ], [ 36, 53 ], [ 64, 61 ] ]
[ "import math\nimport collections\nimport fractions\nimport itertools\nimport functools\nimport operator\n\ndef solve():\n n, l = map(int, input().split())\n s = [input() for _ in range(n)]\n for i in range(l):\n s.sort()\n print(\"\".join(s))\n return 0\n\nif __name__ == \"__main__\":\n sol...
import math import collections import fractions import itertools import functools import operator def solve(): n, l = map(int, input().split()) s = [input() for _ in range(n)] for i in range(l): s.sort() print("".join(s)) return 0 if __name__ == "__main__": solve()
[ 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, 13, 41, 28, 13, 13, 4, 4, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10...
[ [ 59, 2 ], [ 59, 11 ], [ 53, 13 ], [ 17, 16 ], [ 60, 19 ], [ 54, 22 ], [ 54, 30 ], [ 34, 33 ], [ 54, 33 ], [ 33, 38 ], [ 56, 40 ], [ 57, 48 ], [ 59, 51 ], [ ...
[ "N, L = map(int, input().split())\nS = []\nfor i in range(N):\n S.append(input())\n\n\nlist.sort(S)\n\nans = ''.join([str(i) for i in S])\n \nprint(ans)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "spli...
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) list.sort(S) ans = ''.join([str(i) for i in S]) print(ans)
[ 7, 15, 13, 15, 13, 15, 13, 12, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 0, 13, 17, 29, 13, 23, 13, 12, 13, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 4, 18, 13, 13, ...
[ [ 11, 10 ], [ 14, 13 ], [ 17, 16 ], [ 24, 16 ], [ 20, 19 ], [ 19, 22 ], [ 13, 22 ], [ 10, 22 ], [ 24, 24 ], [ 31, 30 ], [ 31, 39 ], [ 42, 41 ], [ 41, 53 ], [ ...
[ "# -*- coding: utf-8 -*-\n\nimport io\nimport sys\nimport math\n\ndef format_multi_line_answer(lst):\n ans = \"\"\n ans += f\"{len(lst)}\\n\" # Line count\n for y in lst:\n ans += f\"{y}\\n\"\n return ans\n\ndef solve():\n # implement process\n pass\n\ndef main():\n # input\n n,l = m...
# -*- coding: utf-8 -*- import io import sys import math def format_multi_line_answer(lst): ans = "" ans += f"{len(lst)}\n" # Line count for y in lst: ans += f"{y}\n" return ans def solve(): # implement process pass def main(): # input n,l = map(int, input().split()) a_l...
[ 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, 28, 13, 4, 13, 2, 13, 17, 4, 13, 18, 13, 13, 0, 13, 17, 4, 13, 18, 13, 2, 13, 17, 10,...
[ [ 65, 2 ], [ 65, 11 ], [ 62, 13 ], [ 17, 16 ], [ 66, 19 ], [ 59, 21 ], [ 63, 26 ], [ 60, 28 ], [ 63, 31 ], [ 35, 34 ], [ 66, 38 ], [ 63, 43 ], [ 34, 44 ], [ ...
[ "N, L = map(int, input().split())\nA = []\nfor i in range(N):\n\tS = input()\n\tA.append(S)\n\nA.sort()\nfor i in range(N-1):\n\tprint(A[i], end=\"\")\nprint(A[N-1])", "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.sort() for i in range(N-1): print(A[i], end="") print(A[N-1])
[ 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, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 15, 14 ], [ 40, 17 ], [ 36, 22 ], [ 37, 26 ], [ 37, 34 ], [ 36, 37 ], [ 42, 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, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 4, 13, 10, 13, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 15, 14 ], [ 42, 17 ], [ 44, 22 ], [ 45, 26 ], [ 53, 29 ], [ 33, 32 ], [ 45, 32 ], [ 47, 35 ], [ 32, 36 ], [ 48, 39 ], [ 54, 39 ], [ ...
[ "n, l = map(int, input().split())\nslst = [input() for _ in range(n)]\nslst.sort()\nans = \"\"\nfor s in slst:\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() ...
n, l = map(int, input().split()) slst = [input() for _ in range(n)] slst.sort() ans = "" for s in slst: ans += s 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, 4, 13, 4, 18, 17, 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 ], [ 39, 27 ], [ 49, 30 ], [ 40, 37 ], [ 39, 40 ], [ 45, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "a,b=map(int,input().split())\nc=[]\n\nfor i in range(a):\n c.append(input())\n\nd=sorted(c) \nprint(''.join(d))", "a,b=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "c=[]", "c", "[]", "for i in r...
a,b=map(int,input().split()) c=[] for i in range(a): c.append(input()) d=sorted(c) print(''.join(d))
[ 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, 17, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13...
[ [ 51, 2 ], [ 51, 11 ], [ 15, 14 ], [ 49, 17 ], [ 54, 22 ], [ 55, 26 ], [ 45, 29 ], [ 33, 32 ], [ 49, 35 ], [ 57, 37 ], [ 55, 39 ], [ 32, 40 ], [ 58, 43 ], [ ...
[ "\nn,l=map(int,input().split())\nstr=[input() for i in range(n)]\nstr.sort()\nans=\"\"\nfor i in range(n):\n ans+=str[i]\nprint(ans)", "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()) str=[input() for i in range(n)] str.sort() ans="" for i in range(n): ans+=str[i] print(ans)
[ 7, 15, 13, 12, 13, 29, 4, 18, 4, 18, 18, 13, 13, 13, 13, 12, 13, 29, 4, 13, 4, 13, 12, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 29, 13, 12, 13, 0, 13, 4, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, ...
[ [ 80, 21 ], [ 27, 26 ], [ 80, 30 ], [ 26, 35 ], [ 42, 41 ], [ 86, 43 ], [ 42, 44 ], [ 47, 46 ], [ 50, 49 ], [ 41, 52 ], [ 46, 55 ], [ 80, 58 ], [ 61, 60 ], [ ...
[ "import sys\n# sys.setrecursionlimit(100000)\n\n\ndef input():\n return sys.stdin.readline().strip()\n\n\ndef input_int():\n return int(input())\n\n\ndef input_int_list():\n return [int(i) for i in input().split()]\n\n\ndef main():\n N, L = input_int_list()\n S = []\n for _ in range(N):\n S...
import sys # sys.setrecursionlimit(100000) def input(): return sys.stdin.readline().strip() def input_int(): return int(input()) def input_int_list(): return [int(i) for i in input().split()] def main(): N, L = input_int_list() S = [] for _ in range(N): S.append(input()) 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, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 43, 2 ], [ 43, 11 ], [ 46, 13 ], [ 17, 16 ], [ 41, 19 ], [ 47, 22 ], [ 47, 28 ], [ 32, 31 ], [ 47, 31 ], [ 31, 35 ], [ 38, 37 ], [ 43, 41 ], [ 43, 44 ], [ ...
[ "N, L = map(int, input().split())\nS = []\nfor i in range(N):\n S.append(input())\n\nS.sort()\nfor X in S:\n print(X, end=\"\")\n \n", "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() for X in S: print(X, end="")
[ 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 ], [ 42, 19 ], [ 44, 21 ], [ 48, 26 ], [ 45, 28 ], [ 48, 31 ], [ 48, 39 ], [ 50, 42 ], [ 44, 45 ], [ 47, 48 ], [ ...
[ "n,l=map(int,input().split())\na=[]\nfor i in range(n):\n s=input()\n a.append(s)\na.sort()\nprint(''.join(a))", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "a=[]", "a", "[]", "for i in...
n,l=map(int,input().split()) a=[] for i in range(n): s=input() a.append(s) a.sort() print(''.join(a))
[ 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, 13, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 51, 11 ], [ 15, 14 ], [ 49, 17 ], [ 42, 22 ], [ 45, 27 ], [ 31, 30 ], [ 43, 30 ], [ 39, 33 ], [ 30, 34 ], [ 40, 37 ], [ 46, 37 ], [ 30, 39 ], [ ...
[ "n, l = map(int, input().split())\ns = sorted([input() for i in range(n)])\nans = \"\"\nfor i in s:\n ans += i\nprint(ans)", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "input() for i in ra...
n, l = map(int, input().split()) s = sorted([input() for i in range(n)]) ans = "" for i in s: ans += 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, 13, 0, 13, 17, 28, 13, 13, 0, 13, 2, 13, 13, 4, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13, 10, 17...
[ [ 52, 2 ], [ 52, 11 ], [ 46, 13 ], [ 17, 16 ], [ 53, 19 ], [ 47, 22 ], [ 47, 30 ], [ 55, 32 ], [ 36, 35 ], [ 47, 35 ], [ 58, 38 ], [ 56, 40 ], [ 59, 40 ], [ ...
[ "n,l=map(int,input().split())\ntemp =[]\nfor i in range(n):\n temp.append(input())\nlist.sort(temp)\n\nstr =\"\"\nfor s in temp:\n str = str+ s\n\nprint(str)", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", ...
n,l=map(int,input().split()) temp =[] for i in range(n): temp.append(input()) list.sort(temp) str ="" for s in temp: str = str+ s print(str)
[ 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, 13, 31, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 43, 2 ], [ 43, 11 ], [ 37, 13 ], [ 18, 17 ], [ 44, 20 ], [ 38, 23 ], [ 38, 32 ], [ 35, 34 ], [ 37, 38 ], [ 43, 41 ], [ 43, 44 ] ]
[ "N, L = map(int,input().split())\nl = list()\nfor i in range(N):\n\tl.append(input())\nprint(*sorted(l),sep='')", "N, L = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "l = list()", "l", "list()", "...
N, L = map(int,input().split()) l = list() for i in range(N): l.append(input()) print(*sorted(l),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, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 15, 14 ], [ 37, 17 ], [ 39, 22 ], [ 40, 26 ], [ 40, 34 ], [ 42, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "n, l = map(int, input().split())\nS = [input() for i 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 i in range(n)", "for i in range(n...
n, l = map(int, input().split()) S = [input() for i in range(n)] S.sort() print("".join(S))
[ 7, 15, 13, 0, 13, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 13, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, ...
[ [ 65, 4 ], [ 65, 17 ], [ 59, 19 ], [ 23, 22 ], [ 66, 25 ], [ 60, 28 ], [ 60, 41 ], [ 62, 44 ], [ 48, 47 ], [ 60, 47 ], [ 68, 50 ], [ 47, 51 ], [ 69, 54 ], [ ...
[ "import sys\n\nN, L = map(int, sys.stdin.readline().split())\nS = []\nfor _ in range(N):\n S.append(sys.stdin.readline().strip())\n\nS.sort()\nans = \"\"\nfor s_i in S:\n ans += s_i\n\nprint(ans)", "import sys", "sys", "N, L = map(int, sys.stdin.readline().split())", "N", "map(int, sys.stdin.readlin...
import sys N, L = map(int, sys.stdin.readline().split()) S = [] for _ in range(N): S.append(sys.stdin.readline().strip()) S.sort() ans = "" for s_i in S: ans += s_i 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, 13, 12, 13, 28, 13, 13, 4, 13, 17, 14, 2, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 29, 13, 29, 2, 13, 4, 13...
[ [ 4, 3 ], [ 3, 12 ], [ 92, 14 ], [ 92, 16 ], [ 20, 19 ], [ 84, 22 ], [ 86, 27 ], [ 61, 40 ], [ 63, 41 ], [ 63, 45 ], [ 93, 47 ], [ 61, 56 ], [ 63, 58 ], [ 6...
[ "N, L = [int(x) for x in input().split()] \nS = [input() for _ in range(N)]\n\ndef f(s, p=0):\n for i, c in enumerate(\"abcdefghijklmnopqrstuvwxyz\"):\n if s[p] == c:\n if p == L - 1:\n return (i, )\n else:\n return (i, ...
N, L = [int(x) for x in input().split()] S = [input() for _ in range(N)] def f(s, p=0): for i, c in enumerate("abcdefghijklmnopqrstuvwxyz"): if s[p] == c: if p == L - 1: return (i, ) else: return (i, ) + f(s, p + 1) ...
[ 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, 0, 13, 4, 13, 13, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 18,...
[ [ 61, 2 ], [ 61, 11 ], [ 15, 14 ], [ 47, 17 ], [ 52, 22 ], [ 58, 25 ], [ 49, 28 ], [ 53, 31 ], [ 34, 33 ], [ 47, 36 ], [ 55, 38 ], [ 50, 40 ], [ 33, 41 ], [ ...
[ "N, L = map(int,input().split())\nw = [input() for i in range(N)]\nans = \"\"\ns_w = sorted(w)\nfor i in range(N):\n ans += s_w[i]\nprint(ans)", "N, L = map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "i...
N, L = map(int,input().split()) w = [input() for i in range(N)] ans = "" s_w = sorted(w) for i in range(N): ans += s_w[i] print(ans)
[ 7, 0, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 13, 0, 13, 4, 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, 2, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, ...
[ [ 69, 2 ], [ 69, 8 ], [ 72, 10 ], [ 55, 13 ], [ 63, 15 ], [ 70, 18 ], [ 22, 21 ], [ 73, 24 ], [ 55, 24 ], [ 57, 29 ], [ 58, 33 ], [ 60, 36 ], [ 40, 39 ], [ ...
[ "a,b=input().split()\na=int(a)\nb=int(b)\nc=[input() for i in range(a)]\nc.sort()\nd=\"\"\nfor k in range(a):\n d=d+c[k]\nprint(d)", "a,b=input().split()", "a", "input().split()", "().split", "()", "input", "split", "b", "a=int(a)", "a", "int(a)", "int", "a", "b=int(b)", "b", "int(b...
a,b=input().split() a=int(a) b=int(b) c=[input() for i in range(a)] c.sort() d="" for k in range(a): d=d+c[k] print(d)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 4, 18, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 18, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 48, 11 ], [ 51, 13 ], [ 52, 20 ], [ 45, 23 ], [ 27, 26 ], [ 43, 29 ], [ 39, 31 ], [ 52, 33 ], [ 26, 34 ], [ 40, 37 ], [ 46, 37 ], [ 39, 40 ], [ ...
[ "n,l=map(int,input().split())\nS=list(input() for _ in range(n))\nS.sort()\nans=\"\"\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=list(input() for _...
n,l=map(int,input().split()) S=list(input() for _ in range(n)) S.sort() ans="" for i in range(n): ans+=S[i] print(ans)
[ 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, 41, 28, 13, 13, 4, 4, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10...
[ [ 56, 2 ], [ 56, 12 ], [ 53, 14 ], [ 18, 17 ], [ 57, 20 ], [ 54, 23 ], [ 54, 29 ], [ 34, 33 ], [ 54, 33 ], [ 33, 38 ], [ 59, 40 ], [ 60, 48 ], [ 56, 51 ], [ ...
[ "N,L=map(int, input().split(\" \"))\ns=[]\nfor i in range(N):\n s.append(input())\n\ns.sort()\n\nl = ''.join([str(n) for n in s])\n\nprint(l)", "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(N): s.append(input()) s.sort() l = ''.join([str(n) for n in s]) print(l)
[ 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, 42, 2, 13, 13, 4, 13, 18, 13, 13, 0, 13, 17, 0, 13, 17, 10, 17, 13, 10, 4, 13, 10, 13, 13, 10...
[ [ 59, 2 ], [ 59, 11 ], [ 15, 14 ], [ 51, 17 ], [ 53, 22 ], [ 54, 26 ], [ 56, 29 ], [ 57, 33 ], [ 48, 33 ], [ 51, 34 ], [ 54, 38 ], [ 57, 39 ], [ 48, 39 ], [ ...
[ "N, L = map(int, input().split())\n \nC = [input() for i in range(N)]\n \nC.sort()\n \ni=0\n \nwhile i < N:\n print(C[i] , end =\"\")\n i += 1", "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()) C = [input() for i in range(N)] C.sort() i=0 while i < N: print(C[i] , end ="") i += 1
[ 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())\nlw=[]\nfor i in range(n):\n lw.append(input())\nlw.sort()\nprint(\"\".join(lw))", "n, l = map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "lw=[]", "lw", "[]", "for...
n, l = map(int,input().split()) lw=[] for i in range(n): lw.append(input()) lw.sort() print("".join(lw))
[ 7, 12, 13, 14, 2, 13, 13, 29, 17, 29, 17, 23, 13, 23, 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, 10, 12, 13, 10, 4, 13, 10, 4, 1...
[ [ 12, 5 ], [ 14, 6 ], [ 12, 12 ], [ 14, 14 ], [ 54, 16 ], [ 54, 25 ], [ 29, 28 ], [ 52, 31 ], [ 57, 36 ], [ 58, 46 ], [ 54, 52 ], [ 54, 55 ], [ 57, 58 ] ]
[ "def compare_strings(s1, s2):\n if s1 < s2:\n return True\n return False\n\nn, l = map(int, input().split())\nstrings = [input() for i in range(n)]\n\nprint(''.join(sorted(strings)))", "def compare_strings(s1, s2):\n if s1 < s2:\n return True\n return False", "compare_strings", "if s...
def compare_strings(s1, s2): if s1 < s2: return True return False n, l = map(int, input().split()) strings = [input() for i in range(n)] print(''.join(sorted(strings)))
[ 7, 14, 2, 13, 17, 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, 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, ...
[ [ 59, 6 ], [ 59, 15 ], [ 53, 17 ], [ 22, 21 ], [ 60, 24 ], [ 54, 27 ], [ 50, 32 ], [ 54, 35 ], [ 47, 37 ], [ 51, 42 ], [ 48, 45 ], [ 47, 48 ], [ 50, 51 ], [ ...
[ "if __name__ == \"__main__\":\n\tN, L = map(int,input().split())\n\tdi = list()\n\tfor i in range(N):\n\t\tdi.append(input())\n\tcopy = sorted(di)\n\tans =''.join(copy)\n\tprint(ans)", "if __name__ == \"__main__\":\n\tN, L = map(int,input().split())\n\tdi = list()\n\tfor i in range(N):\n\t\tdi.append(input())\n\t...
if __name__ == "__main__": N, L = map(int,input().split()) di = list() for i in range(N): di.append(input()) copy = sorted(di) ans =''.join(copy) 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, 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 ], [ ...
[ "a,b=map(int,input().split())\ns=[]\nfor i in range(a):\n s.append(input())\ns.sort()\nfor i in range(a):\n print(s[i],end=\"\")", "a,b=map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "s=[]", "s", "[]...
a,b=map(int,input().split()) s=[] for i in range(a): s.append(input()) s.sort() for i in range(a): print(s[i],end="")
[ 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, 31, 13, 0, 13, 17, 10, 13, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 42, 14 ], [ 42, 16 ], [ 20, 19 ], [ 40, 22 ], [ 45, 27 ], [ 46, 34 ], [ 37, 36 ], [ 42, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "N, L = [int(i) for i in input().split()]\nS = sorted([input() for _ in range(N)])\n\nprint(*S, sep=\"\")", "int(i) for i in input().split()", "for i in input().split()", "i", "input().split()", "().split", "()", "input", "split", "for i in input().split()", "int(i)", "int", "i", "N, L = [...
N, L = [int(i) for i in input().split()] S = sorted([input() for _ in range(N)]) print(*S, sep="")
[ 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", "\"\".joi...
_, _, *S = open(0).read().split() print("".join(sorted(S)))
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 17, 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, 13, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 45, 14 ], [ 18, 17 ], [ 46, 20 ], [ 42, 25 ], [ 43, 29 ], [ 43, 37 ], [ 45, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "a,b = list(map(int,input().split(\" \")))\n\nl = [input() for i in range(a)]\n\nl.sort()\nprint(\"\".join(l))", "a,b = list(map(int,input().split(\" \")))", "a", "list(map(int,input().split(\" \")))", "list", "map(int,input().split(\" \"))", "map", "int", "input().split(\" \")", "().split", "()...
a,b = list(map(int,input().split(" "))) l = [input() for i in range(a)] l.sort() print("".join(l))
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 2, 17, 17, 0, 13, 17, 12, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, ...
[ [ 92, 4 ], [ 98, 11 ], [ 89, 18 ], [ 104, 32 ], [ 101, 37 ], [ 43, 42 ], [ 99, 49 ], [ 43, 51 ], [ 55, 54 ], [ 42, 57 ], [ 99, 62 ], [ 66, 65 ], [ 65, 69 ], [ ...
[ "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n N, L = map(int, readline().split())\n S = [readline().strip() for _ in range(N)]\n\n S.sort()\n ans = ''.join(S)\n p...
import sys read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): N, L = map(int, readline().split()) S = [readline().strip() for _ in range(N)] S.sort() ans = ''.join(S) print(ans) return ...
[ 7, 15, 13, 4, 18, 13, 13, 17, 15, 13, 15, 13, 0, 13, 4, 13, 17, 15, 15, 13, 15, 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, 1...
[ [ 68, 13 ], [ 26, 25 ], [ 26, 34 ], [ 38, 37 ], [ 25, 40 ], [ 46, 45 ], [ 45, 49 ], [ 45, 57 ], [ 66, 63 ], [ 68, 69 ] ]
[ "import sys\nsys.setrecursionlimit(4100000)\nimport math\nimport itertools\nINF = float('inf')\nfrom heapq import heapify, heappop, heappush\nimport collections\nimport bisect\n\ndef main():\n n,l = map(int, input().split())\n array = [input() for _ in range(n)]\n\n array.sort()\n print(''.join(array))\...
import sys sys.setrecursionlimit(4100000) import math import itertools INF = float('inf') from heapq import heapify, heappop, heappush import collections import bisect def main(): n,l = map(int, input().split()) array = [input() for _ in range(n)] array.sort() print(''.join(array)) if __name__ == '_...
[ 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, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 47, 2 ], [ 47, 11 ], [ 44, 13 ], [ 17, 16 ], [ 48, 19 ], [ 50, 21 ], [ 45, 26 ], [ 51, 28 ], [ 45, 31 ], [ 45, 39 ], [ 47, 42 ], [ 44, 45 ], [ 47, 48 ], [ ...
[ "N, L = map(int, input().split())\nS = []\nfor n in range(N):\n s = input()\n S.append(s)\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", "[...
N, L = map(int, input().split()) S = [] for n in range(N): s = input() S.append(s) S.sort() print(''.join(S))
[ 7, 0, 13, 4, 18, 4, 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, 31, 13, 0, 13, 17, 10, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 47, 2 ], [ 47, 8 ], [ 44, 10 ], [ 48, 13 ], [ 17, 16 ], [ 45, 19 ], [ 48, 19 ], [ 38, 24 ], [ 39, 28 ], [ 39, 33 ], [ 36, 35 ], [ 38, 39 ], [ 47, 42 ], [ ...
[ "n, l = input().split()\nn = int(n)\ns = [input() for _ in range(n)]\ns.sort()\nprint(*s, sep='')", "n, l = input().split()", "n", "input().split()", "().split", "()", "input", "split", "l", "n = int(n)", "n", "int(n)", "int", "n", "input() for _ in range(n)", "for _ in range(n)", "_...
n, l = input().split() n = int(n) s = [input() for _ in range(n)] s.sort() print(*s, sep='')
[ 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, 4, 18, 13, 13, 13, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 4, 13, 10, 39, 13, 10, 17, 1...
[ [ 60, 2 ], [ 60, 11 ], [ 51, 13 ], [ 54, 16 ], [ 20, 19 ], [ 49, 22 ], [ 52, 25 ], [ 52, 33 ], [ 36, 35 ], [ 49, 38 ], [ 57, 40 ], [ 52, 42 ], [ 35, 43 ], [ ...
[ "# coding: utf-8\n\na, b= map(int,input().split())\ntable = []\nans = \"\"\nfor i in range(a):\n table.append(input())\nlist.sort(table)\nfor i in range(a):\n ans += table[i]\nprint(ans)", "a, b= map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().spl...
# coding: utf-8 a, b= map(int,input().split()) table = [] ans = "" for i in range(a): table.append(input()) list.sort(table) for i in range(a): ans += table[i] 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, 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 ], [ 44, 21 ], [ 48, 26 ], [ 45, 28 ], [ 48, 31 ], [ 48, 39 ], [ 50, 42 ], [ 44, 45 ], [ 47, 48 ], [ ...
[ "# AtCoder Beginner Contest 042\n# B - 文字列大好きいろはちゃんイージー\n\nN,L=map(int,input().split())\narr=[]\nfor i in range (N):\n a=input()\n arr.append(a)\narr.sort()\nprint(\"\".join(arr))", "N,L=map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "(...
# AtCoder Beginner Contest 042 # B - 文字列大好きいろはちゃんイージー N,L=map(int,input().split()) arr=[] for i in range (N): a=input() arr.append(a) arr.sort() print("".join(arr))
[ 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, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 43, 2 ], [ 43, 11 ], [ 15, 14 ], [ 44, 17 ], [ 46, 22 ], [ 40, 25 ], [ 47, 28 ], [ 41, 35 ], [ 43, 38 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "n,l=map(int,input().split())\nli=[input() for i in range(n)]\n\nsortli=sorted(li)\nprint(''.join(sortli))", "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 ran...
n,l=map(int,input().split()) li=[input() for i in range(n)] sortli=sorted(li) print(''.join(sortli))
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 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, 18, 4, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13,...
[ [ 58, 4 ], [ 67, 18 ], [ 59, 25 ], [ 67, 27 ], [ 61, 29 ], [ 65, 33 ], [ 36, 35 ], [ 65, 38 ], [ 43, 40 ], [ 62, 41 ], [ 35, 42 ], [ 59, 46 ], [ 62, 56 ], [ ...
[ "import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10 ** 7)\n\nn, l = map(int, input().split())\ns = [0] * n\nfor i in range(n):\n s[i] = input().strip()\n\nprint(''.join(sorted(s)))", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", ...
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) n, l = map(int, input().split()) s = [0] * n for i in range(n): s[i] = input().strip() print(''.join(sorted(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, 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()\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...
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, 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, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 15, 14 ], [ 43, 17 ], [ 48, 22 ], [ 45, 25 ], [ 49, 28 ], [ 31, 30 ], [ 46, 30 ], [ 49, 30 ], [ 30, 34 ], [ 37, 36 ], [ 42, 40 ], [ ...
[ "n, l = map(int, input().split())\ns = [input() for _ in range(n)]\ns = sorted(s)\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)...
n, l = map(int, input().split()) s = [input() for _ in range(n)] s = sorted(s) for i in s: print(i,end = '')
[ 7, 12, 13, 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, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 4, 13, 10, 12,...
[ [ 5, 4 ], [ 5, 13 ], [ 16, 15 ], [ 19, 18 ], [ 4, 21 ], [ 24, 23 ], [ 15, 28 ], [ 23, 30 ], [ 33, 32 ], [ 15, 35 ], [ 38, 37 ], [ 41, 40 ], [ 4, 43 ], [ 46,...
[ "def resolve():\n N, L = map(int, input().split())\n S = []\n for _ in range(N):\n s = input()\n S.append(s)\n S = sorted(S)\n ans = \"\"\n for i in range(N):\n ans += S[i]\n print(ans)\nresolve()", "def resolve():\n N, L = map(int, input().split())\n S = []\n fo...
def resolve(): N, L = map(int, input().split()) S = [] for _ in range(N): s = input() S.append(s) S = sorted(S) ans = "" for i in range(N): ans += S[i] print(ans) resolve()
[ 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, 4, ...
[ [ 55, 2 ], [ 55, 11 ], [ 58, 13 ], [ 17, 16 ], [ 47, 19 ], [ 52, 21 ], [ 59, 28 ], [ 53, 30 ], [ 59, 33 ], [ 49, 36 ], [ 59, 41 ], [ 50, 44 ], [ 55, 47 ], [ ...
[ "n,l = map(int,input().split())\ns = []\nfor _ in range(n):\n\tS = str(input())\n\ts.append(S)\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 = []", ...
n,l = map(int,input().split()) s = [] for _ in range(n): S = str(input()) s.append(S) s.sort() ans = "".join(s) 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, 4, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 46, 11 ], [ 40, 13 ], [ 17, 16 ], [ 47, 19 ], [ 41, 22 ], [ 41, 28 ], [ 40, 41 ], [ 46, 44 ], [ 46, 47 ] ]
[ "n,l = map(int,input().split())\na = []\nfor i in range(n):\n a.append(input())\n \na.sort()\nprint(\"\".join(str(i) for i in a))", "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(n): a.append(input()) a.sort() print("".join(str(i) for i in a))
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 13, 18, 13, 17, 0, 13, 39, 28, 13, 4, 13, 13, 0, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, ...
[ [ 52, 2 ], [ 55, 6 ], [ 53, 9 ], [ 49, 12 ], [ 56, 16 ], [ 53, 16 ], [ 61, 19 ], [ 23, 22 ], [ 50, 25 ], [ 58, 27 ], [ 62, 32 ], [ 59, 34 ], [ 62, 37 ], [ 4...
[ "first= input()\nfirst = first.split()\n\nN = int(first[0])\nL =[]\nfor i in range(N):\n s = input()\n L.append(s)\n \nL.sort()\nfor i in L:\n print(i,end=\"\")\n", "first= input()", "first", "input()", "input", "first = first.split()", "first", "first.split()", "first.split", "first", "spli...
first= input() first = first.split() N = int(first[0]) L =[] for i in range(N): s = input() L.append(s) L.sort() for i in L: print(i,end="")
[ 7, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 4, 13, 31, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 4, 3 ], [ 34, 11 ], [ 34, 20 ], [ 29, 28 ], [ 34, 32 ], [ 34, 35 ] ]
[ "n,l=map(int,input().split());print(*sorted([input() for _ in range(n)]),sep='')", "input() for _ in range(n)", "for _ in range(n)", "_", "range(n)", "range", "n", "for _ in range(n)", "input()", "input", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "i...
n,l=map(int,input().split());print(*sorted([input() for _ in range(n)]),sep='')
[ 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, 18, 13, 10, 17, 13, 1...
[ [ 62, 2 ], [ 62, 11 ], [ 65, 13 ], [ 17, 16 ], [ 63, 19 ], [ 59, 21 ], [ 66, 26 ], [ 60, 28 ], [ 66, 31 ], [ 53, 34 ], [ 38, 37 ], [ 63, 40 ], [ 50, 42 ], [ ...
[ "n,l=map(int,input().split())\ns=[]\nfor i in range(n):\n x=input()\n s.append(x)\n\ns.sort()\na=\"\"\nfor i in range(n):\n a+=s[i]\n\nprint(a)", "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): x=input() s.append(x) s.sort() a="" for i in range(n): a+=s[i] print(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, 18, 13, 13, 0, 13, 18, 13, 17, 28, 13, 4, 13, 17, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 18, 13, 10, 18, 13, ...
[ [ 62, 2 ], [ 62, 11 ], [ 56, 13 ], [ 17, 16 ], [ 60, 19 ], [ 57, 22 ], [ 57, 28 ], [ 53, 31 ], [ 57, 33 ], [ 37, 36 ], [ 60, 40 ], [ 50, 42 ], [ 57, 44 ], [ ...
[ "N,L=map(int,input().split())\nS=[]\nfor i in range(N):\n S.append(input())\nS.sort()\nAns=S[0]\nfor i in range(1,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=[] for i in range(N): S.append(input()) S.sort() Ans=S[0] for i in range(1,N): Ans+=S[i] print(Ans)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 31, 2 ], [ 31, 11 ], [ 34, 13 ], [ 35, 26 ], [ 31, 29 ], [ 31, 32 ], [ 34, 35 ] ]
[ "n, l = map(int, input().split())\nS = list(input() for _ 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", "S = list(input() for _ in range(n))", "S", ...
n, l = map(int, input().split()) S = list(input() for _ in range(n)) print(''.join(sorted(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, 4, 13, 4, 18, 17, 13, 13, 0, 13, 17, 10, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 45, 11 ], [ 15, 14 ], [ 46, 17 ], [ 39, 22 ], [ 40, 26 ], [ 40, 34 ], [ 37, 36 ], [ 39, 40 ], [ 45, 43 ], [ 45, 46 ] ]
[ "N,L = map(int, input().split())\nstring_list = [input() for i in range(N)]\nstring_list.sort()\nprint(''.join(string_list),sep='\\n')", "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()) string_list = [input() for i in range(N)] string_list.sort() print(''.join(string_list),sep='\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, 4, 18, 13, 13, 0, 13, 4, 18, 17, 13, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 48, 11 ], [ 15, 14 ], [ 49, 17 ], [ 45, 22 ], [ 46, 26 ], [ 42, 29 ], [ 46, 34 ], [ 43, 37 ], [ 46, 37 ], [ 48, 40 ], [ 42, 43 ], [ 45, 46 ], [ ...
[ "N, L = map(int, input().split())\nans = [input() for i in range(N)]\nans.sort()\nans = ''.join(ans)\nprint(ans)", "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)", "f...
N, L = map(int, input().split()) ans = [input() for i in range(N)] ans.sort() ans = ''.join(ans) print(ans)
[ 7, 15, 12, 13, 29, 4, 18, 17, 13, 4, 13, 13, 23, 13, 23, 13, 23, 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, 13, 4, 13, 13, 13, 13, 14, 2, 13, 17, 4, 1...
[ [ 17, 11 ], [ 13, 13 ], [ 15, 15 ], [ 17, 17 ], [ 22, 21 ], [ 22, 30 ], [ 34, 33 ], [ 21, 36 ], [ 42, 41 ], [ 58, 46 ], [ 21, 47 ], [ 30, 48 ], [ 41, 49 ], [ ...
[ "from typing import List\n\n\ndef answer(n: int, l: int, s: List[str]) -> str:\n return ''.join(sorted(s))\n\n\ndef main():\n n, l = map(int, input().split())\n s = [input() for _ in range(n)]\n print(answer(n, l, s))\n\n\nif __name__ == '__main__':\n main()", "from typing import List", "def answ...
from typing import List def answer(n: int, l: int, s: List[str]) -> str: return ''.join(sorted(s)) def main(): n, l = map(int, input().split()) s = [input() for _ in range(n)] print(answer(n, l, s)) if __name__ == '__main__': main()
[ 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, 13, 4, 18, 13, 13, 41, 28, 13, 13, 4, 4, 13, 13, 0, 13, 17, 13, 10, 13, 13, 10, 13, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 52, 14 ], [ 52, 16 ], [ 20, 19 ], [ 47, 22 ], [ 49, 27 ], [ 50, 31 ], [ 36, 35 ], [ 50, 35 ], [ 35, 40 ], [ 43, 42 ], [ 52, 47 ], [ 4...
[ "N,L = [int(i) for i in input().split()]\nS = [input() for _ in range(N)]\n\nS.sort()\n[print(i,end='') for i in S]", "int(i) for i in input().split()", "for i in input().split()", "i", "input().split()", "().split", "()", "input", "split", "for i in input().split()", "int(i)", "int", "i", ...
N,L = [int(i) for i in input().split()] S = [input() for _ in range(N)] S.sort() [print(i,end='') for i in S]
[ 7, 15, 13, 12, 13, 29, 2, 13, 2, 2, 17, 17, 17, 23, 13, 14, 2, 13, 17, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 18, 13, 17, 41, 28, 13, 4, 13, 13, 4, 4, 13, 0, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, ...
[ [ 14, 7 ], [ 14, 14 ], [ 79, 20 ], [ 76, 32 ], [ 80, 34 ], [ 39, 38 ], [ 77, 41 ], [ 73, 46 ], [ 85, 49 ], [ 74, 52 ], [ 82, 54 ], [ 58, 57 ], [ 86, 57 ], [ ...
[ "# coding:UTF-8\nimport sys\n\n\ndef resultSur97(x):\n return x % (10 ** 9 + 7)\n\n\nif __name__ == '__main__':\n # ------ 入力 ------#\n nl = list(map(int, input().split())) # スペース区切り連続数字\n\n x = nl[0]\n sList = [input() for _ in range(x)]\n\n # ------ 処理 ------#\n sListSorted = sorted(sList...
# coding:UTF-8 import sys def resultSur97(x): return x % (10 ** 9 + 7) if __name__ == '__main__': # ------ 入力 ------# nl = list(map(int, input().split())) # スペース区切り連続数字 x = nl[0] sList = [input() for _ in range(x)] # ------ 処理 ------# sListSorted = sorted(sList) out = "" fo...
[ 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, 18, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 17, 16 ], [ 4, 19 ], [ 25, 24 ], [ 24, 28 ], [ 32, 31 ], [ 24, 31 ], [ 31, 35 ], [ 38, 37 ], [ 47, 44 ] ]
[ "\ndef main():\n N, L = map(int,input().split())\n S = [input() for _ in range(N)]\n S.sort()\n for i in S:\n print(i, end = \"\")\n\n\nif __name__ == '__main__':\n main()", "def main():\n N, L = map(int,input().split())\n S = [input() for _ in range(N)]\n S.sort()\n for i in S:\...
def main(): N, L = map(int,input().split()) S = [input() for _ in range(N)] S.sort() for i in S: print(i, end = "") 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, 0, 13, 4, 13, 13, 0, 13, 18, 13, 17, 28, 13, 4, 13, 2, 13, 17, 0, 13, 2, 13, 18, 13, 2, 13, 17, 4, 13, 13, 10, ...
[ [ 62, 2 ], [ 62, 11 ], [ 65, 13 ], [ 17, 16 ], [ 57, 19 ], [ 66, 22 ], [ 71, 27 ], [ 66, 30 ], [ 68, 32 ], [ 72, 34 ], [ 66, 34 ], [ 38, 37 ], [ 57, 41 ], [ ...
[ "n,l=map(int,input().split())\nans=[]\nfor i in range(n):\n ans.append(input())\nans=sorted(ans)\n\na=ans[0]\nfor i in range(n-1):\n a=a+ans[i+1]\nprint(a)\n\n\n \n\n ", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()"...
n,l=map(int,input().split()) ans=[] for i in range(n): ans.append(input()) ans=sorted(ans) a=ans[0] for i in range(n-1): a=a+ans[i+1] print(a)
[ 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 ], [ 42, 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())\nstring_list=[input() for i in range(n)]\n\nstring_list.sort()\nfor X in string_list:\n print(X, end=\"\")", "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()) string_list=[input() for i in range(n)] string_list.sort() for X in string_list: print(X, 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, 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 ], [ ...
[ "# N, L = 3, 3\n# SRR = [\n# \"dxx\",\n# \"axx\",\n# \"cxx\"\n# ]\n\nN, L = map(int,input().split())\nSRR = []\n\nfor i in range(N):\n SRR.append(input())\n\n\nsrr2 = sorted(SRR)\n\n\nresult = \"\".join(srr2)\n\nprint(result)\n\n", "N, L = map(int,input().split())", "N", "map(int,input().split(...
# N, L = 3, 3 # SRR = [ # "dxx", # "axx", # "cxx" # ] N, L = map(int,input().split()) SRR = [] for i in range(N): SRR.append(input()) srr2 = sorted(SRR) result = "".join(srr2) print(result)
[ 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, 18, 13, 13, 4, 13, 13, 10, 18, 13, 10, 39, 13, 10, 4...
[ [ 61, 2 ], [ 61, 11 ], [ 52, 13 ], [ 17, 16 ], [ 62, 19 ], [ 53, 22 ], [ 53, 30 ], [ 58, 33 ], [ 37, 36 ], [ 62, 39 ], [ 49, 41 ], [ 53, 43 ], [ 36, 44 ], [ ...
[ "N,L=map(int,input().split())\nList = []\nfor i in range (N):\n List.append(str(input()))\nList.sort()\nres = \"\"\nfor i in range(N):\n res+=List[i]\nprint(res)", "N,L=map(int,input().split())", "N", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "spli...
N,L=map(int,input().split()) List = [] for i in range (N): List.append(str(input())) List.sort() res = "" for i in range(N): res+=List[i] print(res)
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 4, 13, 31, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 34, 11 ], [ 15, 14 ], [ 35, 17 ], [ 29, 28 ], [ 34, 32 ], [ 34, 35 ] ]
[ "n, l = map(int, input().split())\nprint(*sorted([input() for i in range(n)]), 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)", "i"...
n, l = map(int, input().split()) print(*sorted([input() for i in range(n)]), 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, 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 ], [ 45, 19 ], [ 42, 22 ], [ 42, 28 ], [ 42, 36 ], [ 44, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "n, l = map(int, input().split())\na = []\nfor _ in range(n):\n a.append(input())\na.sort()\nprint(''.join(a))", "n, l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "a = []", "a", "[]", "for ...
n, l = map(int, input().split()) a = [] for _ in range(n): a.append(input()) a.sort() print(''.join(a))
[ 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, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 17, 16 ], [ 4, 19 ], [ 25, 24 ], [ 24, 28 ], [ 24, 36 ], [ 45, 42 ] ]
[ "def main():\n n, _ = map(int, input().split())\n s = [input() for _ in range(n)]\n s.sort()\n print(''.join(s))\n\n\nif __name__ == '__main__':\n main()", "def main():\n n, _ = map(int, input().split())\n s = [input() for _ in range(n)]\n s.sort()\n print(''.join(s))", "main", "n, ...
def main(): n, _ = 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, 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 = []\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 ...
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() print(''.join(s))
[ 7, 12, 13, 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, 18, 17, 13, 4, 13, 13, 4, 13, 13, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 5, 13 ], [ 16, 15 ], [ 19, 18 ], [ 4, 21 ], [ 24, 23 ], [ 15, 28 ], [ 23, 30 ], [ 33, 32 ], [ 15, 39 ], [ 32, 42 ], [ 15, 42 ], [ 47, 44 ] ]
[ "def test(): \n a,b = map(int,input().split())\n arr = []\n for i in range(a):\n value = input()\n arr.append(value)\n arr = \"\".join(sorted(arr))\n print(arr)\ntest()", "def test(): \n a,b = map(int,input().split())\n arr = []\n for i in range(a):\n value = input()\n arr.append(value)\n arr...
def test(): a,b = map(int,input().split()) arr = [] for i in range(a): value = input() arr.append(value) arr = "".join(sorted(arr)) print(arr) test()
[ 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, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 15, 14 ], [ 40, 17 ], [ 36, 22 ], [ 37, 26 ], [ 37, 31 ], [ 34, 33 ], [ 36, 37 ], [ 42, 40 ], [ 42, 43 ] ]
[ "n,l=map(int,input().split())\ns=[input() for i 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 i in range(n)", "for i in range(n)", "i", "...
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() print(*s,sep='')
[ 7, 15, 13, 0, 13, 18, 18, 18, 13, 13, 13, 13, 0, 13, 18, 18, 18, 13, 13, 13, 13, 0, 13, 18, 18, 18, 13, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, ...
[ [ 94, 4 ], [ 82, 13 ], [ 91, 22 ], [ 88, 38 ], [ 103, 43 ], [ 103, 52 ], [ 97, 54 ], [ 58, 57 ], [ 101, 60 ], [ 98, 63 ], [ 98, 69 ], [ 85, 72 ], [ 98, 77 ], [ ...
[ "import sys\nreadline = sys.stdin.buffer.readline\nreadlines = sys.stdin.buffer.readlines\nread = sys.stdin.buffer.read\nsys.setrecursionlimit(10 ** 7)\nINF = float('inf')\n\nN, L = map(int, input().split())\nS = []\nfor _ in range(N):\n S.append(input())\n\nS.sort()\nans = \"\".join(S)\nprint(ans)", "import s...
import sys readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines read = sys.stdin.buffer.read sys.setrecursionlimit(10 ** 7) INF = float('inf') N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) S.sort() ans = "".join(S) print(ans)
[ 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, 0, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10,...
[ [ 65, 2 ], [ 56, 9 ], [ 66, 13 ], [ 53, 16 ], [ 66, 20 ], [ 59, 23 ], [ 27, 26 ], [ 57, 29 ], [ 62, 31 ], [ 60, 36 ], [ 63, 38 ], [ 60, 41 ], [ 45, 44 ], [ ...
[ "s = input().split()\nnumber = int(s[0])\nlength = int(s[1])\n\nwords = []\n\nfor num in range(number):\n x = input()\n words.append(x)\n\nwords.sort()\n\nfor num in words:\n print(num, end='')", "s = input().split()", "s", "input().split()", "().split", "()", "input", "split", "number = in...
s = input().split() number = int(s[0]) length = int(s[1]) words = [] for num in range(number): x = input() words.append(x) words.sort() for num in words: print(num, end='')
[ 7, 0, 13, 4, 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, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 48, 13 ], [ 17, 16 ], [ 49, 19 ], [ 45, 24 ], [ 39, 27 ], [ 46, 30 ], [ 40, 37 ], [ 39, 40 ], [ 48, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "n,l = list(map(int,input().split()))\na = [input() for i in range(n)]\nb = sorted(a)\nprint(''.join(b))", "n,l = list(map(int,input().split()))", "n", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", ...
n,l = list(map(int,input().split())) a = [input() for i in range(n)] b = sorted(a) print(''.join(b))
[ 7, 15, 15, 15, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 4, 18, 13, 13, 17, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 17, 15, 0, 13, 18, 13, 13, 12, 13, 29, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 12, 13, 29, ...
[ [ 120, 22 ], [ 102, 29 ], [ 111, 35 ], [ 112, 50 ], [ 112, 63 ], [ 112, 71 ], [ 123, 73 ], [ 127, 75 ], [ 123, 76 ], [ 80, 79 ], [ 124, 82 ], [ 129, 87 ], [ 114, 90...
[ "#from statistics import median\n#import collections\n#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]\nfrom math import gcd\nfrom itertools import combinations,permutations,accumulate, product # (string,3) 3回\n#from collections import deque\nfrom collections import deque,defaultdi...
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from math import gcd from itertools import combinations,permutations,accumulate, product # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Counter ...
[ 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, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 18, 13, 10, 39, 13, 10, 4, 13, 1...
[ [ 56, 2 ], [ 56, 11 ], [ 50, 13 ], [ 17, 16 ], [ 57, 19 ], [ 51, 22 ], [ 51, 28 ], [ 59, 31 ], [ 35, 34 ], [ 57, 37 ], [ 47, 39 ], [ 51, 41 ], [ 34, 42 ], [ ...
[ "N,L=map(int,input().split())\ninp=[]\nfor i in range(N):\n inp.append(input())\n\ninp.sort()\nans=\"\"\nfor i in range(N):\n ans+=inp[i]\nprint(ans)", "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()) inp=[] for i in range(N): inp.append(input()) inp.sort() ans="" for i in range(N): ans+=inp[i] print(ans)
[ 7, 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, 13, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 13, 13, 10, 13, 13, 10, 39, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 50, 14 ], [ 50, 16 ], [ 53, 18 ], [ 22, 21 ], [ 51, 24 ], [ 54, 27 ], [ 54, 35 ], [ 50, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "n,l= [int(x) for x in input().split()]\nla = []\nfor i in range(n):\n la.append(str(input()))\nla.sort()\nprint(\"\".join(str(x) for x in la))", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", ...
n,l= [int(x) for x in input().split()] la = [] for i in range(n): la.append(str(input())) la.sort() print("".join(str(x) for x in la))
[ 7, 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, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 18, 13, 10...
[ [ 4, 3 ], [ 3, 12 ], [ 59, 14 ], [ 59, 16 ], [ 68, 18 ], [ 22, 21 ], [ 60, 24 ], [ 69, 27 ], [ 63, 27 ], [ 62, 32 ], [ 69, 35 ], [ 63, 35 ], [ 65, 37 ], [ 4...
[ "N, L = [int(x) for x in input().split()]\n\nseq = []\n\nfor i in range(N):\n seq.append(input())\n seq = sorted(seq)\n\nans = ''\nfor i in range(N):\n ans += seq[i]\n\nprint(ans)", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input...
N, L = [int(x) for x in input().split()] seq = [] for i in range(N): seq.append(input()) seq = sorted(seq) ans = '' for i in range(N): ans += seq[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, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 47, 2 ], [ 47, 11 ], [ 50, 13 ], [ 17, 16 ], [ 45, 19 ], [ 51, 22 ], [ 41, 27 ], [ 51, 30 ], [ 33, 32 ], [ 42, 32 ], [ 32, 36 ], [ 39, 38 ], [ 41, 42 ], [ ...
[ "a, b = map(int, input().split())\nlist = []\nfor i in range(a):\n list.append(input())\nlist1 = sorted(list)\nfor i in list1:\n print(i, end = \"\")", "a, b = map(int, input().split())", "a", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "...
a, b = map(int, input().split()) list = [] for i in range(a): list.append(input()) list1 = sorted(list) for i in list1: print(i, end = "")
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 17, 0, 13, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 4, 13, 0, 13, 4, 13, 13, 28, 13, 4, 13, 13, 0, 13, 18, 13, 13, 4, 13, 13, 10, 17, 13, 10, 18, 13, 10...
[ [ 65, 2 ], [ 65, 11 ], [ 50, 13 ], [ 62, 16 ], [ 20, 19 ], [ 66, 22 ], [ 63, 25 ], [ 56, 32 ], [ 63, 35 ], [ 38, 37 ], [ 66, 40 ], [ 53, 42 ], [ 57, 44 ], [ ...
[ "N,L=map(int,input().split())\nans=\"\"\nS=[]\nfor i in range(N):\n S.append(str(input()))\n\nS=sorted(S)\nfor j in range(N):\n ans+=S[j]\nprint(ans)", "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()) ans="" S=[] for i in range(N): S.append(str(input())) S=sorted(S) for j in range(N): ans+=S[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, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 41, 2 ], [ 41, 11 ], [ 15, 14 ], [ 39, 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())\narray = [input() for i in range(N)]\narray.sort()\nfor i in array:\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 i in range(N)",...
N,L = map(int,input().split()) array = [input() for i in range(N)] array.sort() for i in array: print(i,end='')
[ 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, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 50, 11 ], [ 44, 13 ], [ 17, 16 ], [ 51, 19 ], [ 47, 21 ], [ 45, 26 ], [ 48, 28 ], [ 45, 31 ], [ 45, 39 ], [ 50, 42 ], [ 44, 45 ], [ 47, 48 ], [ ...
[ "N, L = map(int, input().split())\nA = []\nfor _ in range(N):\n s = input()\n A.append(s)\n\nA.sort()\n\nprint(''.join(A))", "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 _ in range(N): s = input() A.append(s) A.sort() print(''.join(A))
[ 7, 0, 13, 4, 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, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 44, 13 ], [ 17, 16 ], [ 45, 19 ], [ 38, 24 ], [ 39, 28 ], [ 39, 36 ], [ 38, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "N, L = list(map(int, input().split()))\nS = [input() for _ in range(N)]\nS.sort()\nprint(''.join(S))", "N, L = list(map(int, input().split()))", "N", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", ...
N, L = list(map(int, input().split())) S = [input() for _ in range(N)] S.sort() print(''.join(S))
[ 7, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 0, 13, 13, 0, 13, 39, 28, 13, 4, 13, 18, 13, 17, 4, 18, 13, 13, 4, 13, 4, 13, 4, 18, 17, 13, 4, 13, 13, 10, 39, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 45, 14 ], [ 42, 17 ], [ 21, 20 ], [ 46, 24 ], [ 43, 28 ], [ 43, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "s = [int(x) for x in input().split()]\ns_list = []\nfor i in range(s[0]):\n s_list.append(input())\n\nprint(''.join(sorted(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...
s = [int(x) for x in input().split()] s_list = [] for i in range(s[0]): s_list.append(input()) print(''.join(sorted(s_list)))
[ 7, 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, 18, 17, 13, 4, 13, 13, 13, 10, 39, 13, 10, 13, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 46, 14 ], [ 46, 16 ], [ 40, 18 ], [ 22, 21 ], [ 47, 24 ], [ 41, 27 ], [ 41, 38 ], [ 40, 41 ], [ 46, 44 ], [ 46, 47 ] ]
[ "a,b = [int(i) for i in input().split()]\npala = []\nfor i in range(a) : pala.append(input())\npala.sort()\nprint(\"\".join(map(str,pala)));", "int(i) for i in input().split()", "for i in input().split()", "i", "input().split()", "().split", "()", "input", "split", "for i in input().split()", "i...
a,b = [int(i) for i in input().split()] pala = [] for i in range(a) : pala.append(input()) pala.sort() print("".join(map(str,pala)));
[ 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, 39, 28, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 13, 4, 18, 13, 13, 4, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 13, 13,...
[ [ 60, 2 ], [ 60, 11 ], [ 15, 14 ], [ 58, 17 ], [ 54, 22 ], [ 63, 25 ], [ 29, 28 ], [ 58, 31 ], [ 64, 34 ], [ 55, 38 ], [ 55, 41 ], [ 55, 45 ], [ 64, 52 ], [ ...
[ "N, L = map(int, input().split())\ninput_line1 = [input() for i in range(N)]\ninput_line2 = []\nfor i in range(N):\n\tinput_line2.append(min(input_line1))\n\tinput_line1.remove(min(input_line1))\nprint(\"\".join(input_line2))", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "...
N, L = map(int, input().split()) input_line1 = [input() for i in range(N)] input_line2 = [] for i in range(N): input_line2.append(min(input_line1)) input_line1.remove(min(input_line1)) print("".join(input_line2))
[ 7, 0, 13, 4, 13, 13, 4, 18, 4, 13, 13, 13, 0, 13, 4, 13, 4, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 36, 2 ], [ 36, 11 ], [ 33, 13 ], [ 34, 20 ], [ 34, 28 ], [ 36, 31 ], [ 33, 34 ], [ 36, 37 ] ]
[ "n,l = map(int,input().split())\ns = list(input() for i 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", "s = list(input() for i in range(n))", "s", "li...
n,l = map(int,input().split()) s = list(input() for i 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, 4, 18, 17, 13, 4, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 42, 11 ], [ 36, 13 ], [ 17, 16 ], [ 43, 19 ], [ 37, 22 ], [ 37, 34 ], [ 36, 37 ], [ 42, 40 ], [ 42, 43 ] ]
[ "a,b = map(int,input().split())\nx = []\nfor i in range(a):\n x.append(input())\n\nprint(\"\".join(sorted(x)))", "a,b = map(int,input().split())", "a", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "b", "x = []", "x", "[]", "for i i...
a,b = map(int,input().split()) x = [] for i in range(a): x.append(input()) print("".join(sorted(x)))
[ 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())\nA = []\n\nfor i in range(N):\n s = input()\n A.append(s)\nA.sort()\nprint(\"\".join(A))", "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(N): s = input() A.append(s) A.sort() print("".join(A))
[ 7, 0, 13, 4, 13, 4, 13, 12, 4, 13, 13, 23, 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, 4, 13, 4, 18, 17, 13, 13, 10, 39, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 51, 18 ], [ 45, 20 ], [ 24, 23 ], [ 52, 26 ], [ 46, 29 ], [ 46, 35 ], [ 46, 43 ], [ 45, 46 ], [ 51, 49 ], [ 51, 52 ] ]
[ "N, L = list(map(lambda a: int(a), input().split(\" \")))\nA = []\nfor i in range(N):\n A.append(input())\n \nA.sort()\nprint(\"\".join(A))", "N, L = list(map(lambda a: int(a), input().split(\" \")))", "N", "list(map(lambda a: int(a), input().split(\" \")))", "list", "map(lambda a: int(a), input().split...
N, L = list(map(lambda a: int(a), input().split(" "))) A = [] for i in range(N): A.append(input()) A.sort() print("".join(A))
[ 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, 13, 4, 18, 13, 13, 4, 13, 4, 18, 17, 13, 13, 10, 13, 13, 10, 13, 13, 10, 13, 13 ]
[ [ 4, 3 ], [ 3, 12 ], [ 47, 14 ], [ 47, 16 ], [ 20, 19 ], [ 48, 22 ], [ 41, 27 ], [ 42, 31 ], [ 42, 39 ], [ 41, 42 ], [ 47, 45 ], [ 47, 48 ] ]
[ "n,l = [int(x) for x in input().split()]\nss = [ input() for x in range(n)]\n#print(ss)\nss.sort()\n#print(ss)\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)", ...
n,l = [int(x) for x in input().split()] ss = [ input() for x in range(n)] #print(ss) ss.sort() #print(ss) print(''.join(ss))
[ 7, 12, 13, 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, 28, 13, 4, 13, 2, 13, 17, 17, 17, 0, 13, 4, 13, 13, 0, 13, 12, 18, 13, 13, 23, 0, 13, 17, 28, 13, 4, 13,...
[ [ 5, 4 ], [ 5, 13 ], [ 17, 16 ], [ 4, 19 ], [ 27, 26 ], [ 30, 29 ], [ 13, 33 ], [ 39, 38 ], [ 26, 41 ], [ 38, 41 ], [ 44, 43 ], [ 29, 47 ], [ 51, 50 ], [ 54...
[ "def main():\n n, l = map(int, input().split())\n ss = [list(input()) for _ in range(n)]\n\n for i in range(l-1, -1, -1):\n ss = sorted(ss, key=lambda x: x[i])\n\n ans = ''\n for i in range(n):\n for j in range(l):\n ans += ss[i][j]\n print(ans)\n\n\nif __name__ == \"__mai...
def main(): n, l = map(int, input().split()) ss = [list(input()) for _ in range(n)] for i in range(l-1, -1, -1): ss = sorted(ss, key=lambda x: x[i]) ans = '' for i in range(n): for j in range(l): ans += ss[i][j] print(ans) if __name__ == "__main__": 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, 0, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 28, 13, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10,...
[ [ 53, 2 ], [ 56, 9 ], [ 54, 13 ], [ 62, 16 ], [ 54, 20 ], [ 65, 23 ], [ 27, 26 ], [ 57, 29 ], [ 59, 31 ], [ 66, 36 ], [ 60, 38 ], [ 66, 41 ], [ 45, 44 ], [ ...
[ "MM = input().split()\nN = int(MM[0])\nL = int(MM[1])\nlist1 = []\nfor i in range(N):\n a = input()\n list1.append(a)\nlist1.sort()\nfor i in list1:\n print(i,end='')", "MM = input().split()", "MM", "input().split()", "().split", "()", "input", "split", "N = int(MM[0])", "N", "int(MM[0])", ...
MM = input().split() N = int(MM[0]) L = int(MM[1]) list1 = [] for i in range(N): a = input() list1.append(a) list1.sort() for i in list1: print(i,end='')
[ 7, 0, 13, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 39, 28, 13, 4, 13, 18, 13, 17, 4, 18, 13, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 13, 0, 13, 13, 4, 13, 13, 10, 39, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 44, 14 ], [ 18, 17 ], [ 54, 21 ], [ 45, 25 ], [ 47, 30 ], [ 34, 33 ], [ 45, 36 ], [ 50, 38 ], [ 33, 39 ], [ 51, 42 ], [ 48, 42 ], [ 44, 45 ], [ ...
[ "N = list(map(int, input().split()))\ndic = []\n\nfor ins in range(N[0]):\n dic.append(input())\n\ns = \"\"\nfor ins in sorted(dic):\n s += ins\n\nprint(s)", "N = list(map(int, input().split()))", "N", "list(map(int, input().split()))", "list", "map(int, input().split())", "map", "int", "input().s...
N = list(map(int, input().split())) dic = [] for ins in range(N[0]): dic.append(input()) s = "" for ins in sorted(dic): s += ins 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, 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, 13, 13 ]
[ [ 45, 2 ], [ 45, 11 ], [ 15, 14 ], [ 46, 17 ], [ 48, 22 ], [ 49, 26 ], [ 39, 29 ], [ 49, 34 ], [ 40, 37 ], [ 39, 40 ], [ 45, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "N, L = map(int, input().split())\n\nS = [input() for _ in range(N)]\n\nS.sort()\n\nres = \"\".join(S)\n\nprint(res)", "N, L = map(int, input().split())", "N", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "L", "input() for _ in range(N)", ...
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() res = "".join(S) print(res)
[ 7, 14, 2, 13, 17, 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, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 50, 6 ], [ 50, 15 ], [ 47, 17 ], [ 21, 20 ], [ 45, 23 ], [ 48, 26 ], [ 48, 34 ], [ 48, 42 ], [ 50, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "# -*- coding: utf-8 -*-\n\nif __name__ == \"__main__\":\n N, L = map(int, input().split())\n si = []\n for i in range(N):\n si.append(str(input()))\n si.sort()\n print(''.join(si))", "if __name__ == \"__main__\":\n N, L = map(int, input().split())\n si = []\n for i in range(N):\n ...
# -*- coding: utf-8 -*- if __name__ == "__main__": N, L = map(int, input().split()) si = [] for i in range(N): si.append(str(input())) si.sort() print(''.join(si))
[ 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, 31, 4, 13, 13, 0, 13, 17, 10, 13, 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 = [input() for _ in range(n)]\nprint(*sorted(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)] print(*sorted(S), 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, 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 ], [ 45, 19 ], [ 39, 22 ], [ 39, 28 ], [ 39, 36 ], [ 38, 39 ], [ 44, 42 ], [ 44, 45 ] ]
[ "n,l=map(int,input().split())\nlst=[]\nfor _ in range(n):\n lst.append(input())\nlst.sort()\nprint(\"\".join(lst))", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "lst=[]", "lst", "[]", "for...
n,l=map(int,input().split()) lst=[] for _ in range(n): lst.append(input()) lst.sort() print("".join(lst))
[ 7, 0, 13, 4, 13, 4, 13, 12, 4, 13, 13, 23, 4, 18, 4, 13, 13, 0, 13, 18, 13, 17, 13, 18, 13, 17, 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, 18...
[ [ 58, 2 ], [ 67, 18 ], [ 59, 20 ], [ 55, 22 ], [ 59, 24 ], [ 61, 27 ], [ 31, 30 ], [ 68, 33 ], [ 64, 35 ], [ 62, 40 ], [ 65, 42 ], [ 62, 45 ], [ 62, 53 ], [ ...
[ "main = list(map(lambda x: int(x), input().split()))\nn, l = main[0], main[1]\nfinal = []\nfor i in range(n):\n string = input()\n final.append(string)\n\nfinal.sort()\nprint(''.join(final))", "main = list(map(lambda x: int(x), input().split()))", "main", "list(map(lambda x: int(x), input().split()))", ...
main = list(map(lambda x: int(x), input().split())) n, l = main[0], main[1] final = [] for i in range(n): string = input() final.append(string) final.sort() print(''.join(final))
[ 7, 15, 13, 12, 13, 29, 4, 18, 17, 13, 4, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 12, 13, 28, 13, 18, 13, 13, 28, 13, 4, 18, 13, 13, 27, 13, 0, 13, 4, 13, 0, 13, 4, 13, 4, 13, 13, 0, 13, 4, 13, 4, 13, 13, 41, ...
[ [ 18, 12 ], [ 14, 14 ], [ 16, 16 ], [ 18, 18 ], [ 25, 24 ], [ 30, 29 ], [ 24, 32 ], [ 29, 35 ], [ 38, 37 ], [ 22, 39 ], [ 42, 41 ], [ 37, 46 ], [ 49, 48 ], [ ...
[ "#!/usr/bin/env python3\nimport sys\n\n\ndef solve(N: int, L: int, S: \"List[str]\"):\n return \"\".join(sorted(S))\n\n\n# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools\ndef main():\n def iterate_tokens():\n for line in sys.stdin:\n for word in line.split():\n ...
#!/usr/bin/env python3 import sys def solve(N: int, L: int, S: "List[str]"): return "".join(sorted(S)) # Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word t...
[ 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, 13, 4, 13, 13, 0, 13, 17, 10, 4, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 43, 2 ], [ 43, 11 ], [ 46, 13 ], [ 17, 16 ], [ 41, 19 ], [ 47, 22 ], [ 44, 22 ], [ 47, 28 ], [ 44, 28 ], [ 32, 31 ], [ 47, 31 ], [ 44, 31 ], [ 31, 35 ], [ ...
[ "n,l=map(int,input().split())\nl=[]\nfor i in range(n):\n l.append(input())\nl.sort()\nfor a in l:\n print(a,end=\"\")", "n,l=map(int,input().split())", "n", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "l=[]", "l", "[]", "...
n,l=map(int,input().split()) l=[] for i in range(n): l.append(input()) l.sort() for a in l: print(a,end="")
[ 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, 0, 13, 17, 28, 13, 13, 0, 13, 13, 4, 13, 13, 10, 13, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, 4...
[ [ 55, 2 ], [ 55, 11 ], [ 15, 14 ], [ 56, 17 ], [ 43, 24 ], [ 44, 28 ], [ 46, 31 ], [ 35, 34 ], [ 44, 34 ], [ 49, 37 ], [ 34, 38 ], [ 50, 41 ], [ 47, 41 ], [ ...
[ "n,l = map(int, input().split())\ns = [str(input()) for i in range(n)]\ns.sort()\nw = \"\"\nfor h in s:\n w += h\nprint(w)", "n,l = map(int, input().split())", "n", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "l", "str(input()) for i i...
n,l = map(int, input().split()) s = [str(input()) for i in range(n)] s.sort() w = "" for h in s: w += h print(w)