submission_id
string
problem_id
string
status
string
code
string
input
string
output
string
problem_description
string
s240902949
p04044
Wrong Answer
N, L = map(int, input().split()) iroha = '' for i in range(N): token = input() if i == 0: iroha = token for j in range(L): if token[j] < iroha[j]: iroha = token + iroha break elif token[j] > iroha[j] or j == L-1: iroha = iroha + token ...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s831888977
p04044
Wrong Answer
N, L = map(int, input().split()) iroha = '' for i in range(N): token = input() if i == 0: iroha = token for j in range(L): if token[j] < iroha[j]: iroha = token + iroha break elif token[j] > iroha[j]: iroha = iroha + token break ...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s841500195
p04044
Wrong Answer
n,l = [int(i) for i in input().split()] lst = [] for _ in range(n): lst.append(input()) lst.sort() print(lst)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s368866231
p04044
Wrong Answer
line = input() five_cnt = line.count('5') seven_cnt = line.count('7') if five_cnt == 2 and seven_cnt == 1: print("YES") else: print("NO")
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s135278179
p04044
Wrong Answer
#まずは入力から nums = input("NとLスペース区切りで入力").split() N = int(nums[0]) L = int(nums[1]) print("N=" + str(N)) print("L=" + str(L)) #繰り返しの要素入力 count = 0 print("start") list = [] while count < N: list.append(input()) count += 1 s_list = sorted(list) print(''.join(s_list))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s051767037
p04044
Wrong Answer
#まずは入力から nums = input("NとLスペース区切りで入力").split() N = int(nums[0]) L = int(nums[1]) print("N=" + str(N)) print("L=" + str(L)) #繰り返しの要素入力 count = 0 print("start") list = [] while count < N: list.append(input()) count += 1 s_list = sorted(list) print(s_list) print(''.join(s_list))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s850917781
p04044
Wrong Answer
NL=input().split() N=int(NL[0]) L=int(NL[1]) S=[] rank=[] for i in range(N): S.append(input()) rank.append(0) temp=[] for i in range(N): for j in range(N): if(S[i]<S[j]): temp.append(int(1)) else: temp.append(int(0)) for i in range(N*N): a=i%3 rank[a]...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s408407693
p04044
Wrong Answer
N, L = map(int, input().split()) S = [""] for i in range(N): S.append(input()) S.sort() res = "" for i in range(N): res += S[i] print(res)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s016185632
p04044
Wrong Answer
#Iroha Loves Strings (ABC Edition) N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) R = [] K = "" R.append(S[0]) for i in range(1, N): for j in range (0, i): if S[i] < R[j]: R.insert(j,S[i]) if S[i] >= R[i-1]: R.append(S[i]) for i in range(0,N)...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s536946128
p04044
Wrong Answer
#Iroha Loves Strings (ABC Edition) N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) R = [] K = "" R.append(S[0]) for i in range(1, N): for j in range (0, i): if S[i] < R[j]: R.insert(j,S[i]) break if S[i] >= R[i-1]: R.append(S[i]) f...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s297495378
p04044
Wrong Answer
x,y = map(int,input().split()) li = input().split() li=sorted(li) string = "".join(li) print(string)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s847200833
p04044
Wrong Answer
li = input().split() li=sorted(li) string = "".join(li) print(string)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s003235746
p04044
Wrong Answer
NL = input() iroha = [] i=0 while i < int(NL[0]): inp = input() iroha.append(inp) i+=1 for value in sorted(iroha): print(value, end='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s780757342
p04044
Wrong Answer
n,l=map(int,input().split()) p=[] for i in range(n): o=list(str(input())) o.sort() #print(o) p.append(''.join(map(str,o))) p.sort() print(''.join(map(str,p)))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s005856481
p04044
Wrong Answer
arr_len_int = int(input().split(' ')[0]) a = [input() for i in range(arr_len_int)] a.sort() b = set(a) print(''.join(b ))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s609774588
p04044
Wrong Answer
print('hello') n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) s.sort() for i in range(n): print(s[i],end ='') print('\n')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s949161507
p04044
Wrong Answer
print('hello') n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) s.sort() for i in range(n): print(s[i],end ='') print('')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s243236906
p04044
Wrong Answer
N,L=map(int,input().split()) for i in range(N): s=input() s=sorted(s) print(*s,sep='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s040001811
p04044
Wrong Answer
n, l = map(int, input().split()) l = [] for i in range(n): l.append(input()) l = list("".join(l)) l.sort() l = "".join(l) print(l)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s036281367
p04044
Wrong Answer
n, l = map(int, input().split()) l = [] for i in range(n): l.append(input()) l.sort(key = lambda x:x[0]) print("".join(l))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s398427974
p04044
Wrong Answer
n, l = map(int, input().split(" ")) ln = [] for i in range(n): ln.append(input()) ln.sort() s = "" for word in ln: s += word print(ln) print(s)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s209679953
p04044
Wrong Answer
#! /usr/bin/env python # -*- coding: utf-8 -*- import pdb import sys F = sys.stdin N, L = F.readline().rstrip().split() print(type(int(N))) N = int(N) L = int(L) a = [F.readline().rstrip() for x in range(N)] a.sort() answer = ''.join(a) print(answer)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s880398687
p04044
Wrong Answer
n = input() l = '' for i in n: c = 0 if i == '1' or i == '0': l += i else: l = l[:len(l)-1] print(l)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s685570122
p04044
Wrong Answer
n,l =map(int, input().split()) s = [input(i) for i in range(n)] s.sort() print(''.join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s639796542
p04044
Wrong Answer
n, l = map(int, input().split()) sorted_list = sorted(sorted(input()) for _ in range(n)) for s_1 in sorted_list: for s_2 in s_1: print(s_2, sep = '', end = '')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s197205889
p04044
Wrong Answer
n,l = map(int, input().split()) print(sorted([input() for i in range(n)]))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s852061433
p04044
Wrong Answer
N, L = map(int, input().split()) words = [ input() for _ in range(N) ] ''.join(sorted(words))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s785652490
p04044
Wrong Answer
# 入力のNとLを読み取る N, L = map(int, input().split()) #S1 ~ SNをリスト化 list_a = [input() for i in range(N)] list_a.sort() "".join(list_a) print(list_a)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s125457828
p04044
Wrong Answer
N, L = map(int, input().split()) list_a = [str(input()) for i in range(N)] list_a.sort() print(list_a[0])
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s177549471
p04044
Wrong Answer
A = list(map(str, input().split())) A.sort() res = '' for a in A: res += a print(res)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s832933457
p04044
Wrong Answer
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) s_1=''.join(s) print('s_1')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s988610625
p04044
Wrong Answer
N, L = map(int, input().split()) s = [] for i in range(N): s.append(input()) s.sort() print(s)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s910065900
p04044
Wrong Answer
#文字列大好きいろはちゃんイージー import numpy as np n,l=list(map(int,input().split( ))) s=[] for i in range(n): s.append(input()) S=[] while len(s)>0: a=0 for i in range(n-a): if s[i]==min(s): S.append(s[i]) del s[i] break a+=1 print(S)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s877377405
p04044
Wrong Answer
N,L =[int(i) for i in input().split()] data = [] for i in range(N): data.append(input())
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s847005801
p04044
Wrong Answer
n, l = map(int,input().split()) s = [] for i in range(n): s.append(input()) print(s) s.sort() print(s) print("".join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s269133514
p04044
Wrong Answer
N,L = map(int,input().split()) S = [] ans = "" for i in range(N): S.append(input()) sorted(S) for i in range(len(S)): ans += S[i] print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s490997856
p04044
Wrong Answer
N,L = map(int,input().split()) S = [] ans = "" for i in range(N): S.append(input()) sorted(S) for i in range(len(S)): ans += S[i] print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s303900842
p04044
Wrong Answer
n,l=map(int,input().split()) s=list(input() for i in range(n)) t=[] for i in range(n): t.append([]) for j in range(l): t[i].append(s[i][j]) t[i].sort() t.sort() k=t[0] for i in range(n-1): k+=t[i+1] k=''.join(k) print(k)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s068216413
p04044
Wrong Answer
#インポート import sys #入力用 def ILI(): return list(map(int, sys.stdin.readline().rstrip().split())) def ISI(): return map(int, sys.stdin.readline().rstrip().split()) def II(): return int(sys.stdin.readline().rstrip()) def ISS(): return sys.stdin.readline().rstrip().split() def IS(): return sys.stdin.readline().rstrip() N,...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s073391919
p04044
Wrong Answer
a_list=[] N=int(input()[0]) for a in range (N): a_list.append(input()) a_list.sort() print(''.join(a_list))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s657392739
p04044
Wrong Answer
a_list=[] N=int(input()[0]) for a in range (N): a_list.append(input()) new_list=sorted(a_list) print(''.join(new_list))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s204900575
p04044
Wrong Answer
a_list=[] N=int(input()[0]) for a in range (N): a_list.append(input()) new_list=sorted(a_list) string="" for word in new_list: string+=str(word) print(string)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s204679862
p04044
Wrong Answer
n, l = map(int, input().split()) str_list = list() for i in range(n): string = ''.join(sorted(input())) str_list.append(string) str_list.sort() print(''.join(str_list))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s960219903
p04044
Wrong Answer
n, l = (int(i) for i in input().split()) s = ["".join(sorted(input())) for i in range(n)] s.sort() print("".join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s672205061
p04044
Wrong Answer
n,l=map(int,input().split()) s=[str(input()) for _ in range(n)] sort_s=sorted(s) #'間に挿入する文字列'.join([連結したい文字列のリスト]) print(''.join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s874772592
p04044
Wrong Answer
n,l=input().split() n,l=int(n),int(l) s=sorted([input() for i in range(n)]) print(list(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s964733100
p04044
Wrong Answer
n,l=map(int,input().split()) print(sorted([input() for _ in[0]*n]),sep='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s317173153
p04044
Wrong Answer
n, l = map(int, input().split()) lst = [''.join(sorted(input())) for _ in range(n)] print(''.join(sorted(lst)))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s098227762
p04044
Wrong Answer
_=input();print("".join(sorted(list(input().split()))))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s719148927
p04044
Wrong Answer
# -*- coding: utf-8 -*- n, l = map(int, input().split()) a = [] b = '' for i in range(n): a.append(input()) a.sort(reverse=True) for i in range(len(a)): b += a[i] print(b)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s697302095
p04044
Wrong Answer
# -*- coding: utf-8 -*- n, l = map(int, input().split()) a = [] b = '' for i in range(n): a.append(input()) sorted(a) for i in range(len(a)): b += a[i] print(b)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s806438461
p04044
Wrong Answer
inputs=input() s = sorted([input() for i in range(int(inputs[0]))]) print(*s,sep='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s287173001
p04044
Wrong Answer
inputs=input() Ss=[] for _ in range(int(inputs[0])): Ss.append(str(input())) Ss = sorted(Ss) print(*Ss,sep='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s446796797
p04044
Wrong Answer
N=input() Ss=[] for _ in range(int(N[0])): Ss.append(str(input())) Ss.sort() print(*Ss,sep='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s615853221
p04044
Wrong Answer
N=input() Ss=[] for _ in range(int(N[0])): Ss.append(str(input())) Ss.sort() for s in Ss: print(s,end='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s476999901
p04044
Wrong Answer
N=input() Ss=[] for _ in range(int(N[0])): Ss.append(input()) Ss.sort() for s in Ss: print(s,end='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s850627613
p04044
Wrong Answer
num_list = list(map(int, input().split())) S = [input(i) for i in range(num_list[0])] S2 = sorted(S) print(*S2, sep='')
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s584599113
p04044
Wrong Answer
num_list = list(map(int, input().split())) S = [input(i) for i in range(num_list[0])] S2 = sorted(S) print(''.join(S2))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s568660094
p04044
Wrong Answer
num_list = list(map(int, input().split())) S = [input(i) for i in range(num_list[0])] print(''.join(sorted(S)))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s613473111
p04044
Wrong Answer
n,l=map(int,input().split()) S=[input() for i in range(n)] print(*sorted(S))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s323742944
p04044
Wrong Answer
num_list = list(map(int, input().split())) N = num_list[0] L = num_list[1] S = [input(i) for i in range(N)] for i in range(N): for j in range(N): if i < j: for k in range(L): if S[i][k] > S[j][k]: S[i...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s319873529
p04044
Wrong Answer
num_list = list(map(int, input().split())) N = num_list[0] L = num_list[1] S = [input(i) for i in range(N)] for i in range(N): for j in range(N): if i < j: for k in range(L): if S[i][k] > S[j][k]: S[i...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s033771213
p04044
Wrong Answer
N, L = map(int, input().split()) ''.join(sorted([input() for i in range(N)]))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s963709415
p04044
Wrong Answer
n,l = map(int,input().split()) s = sorted([input() for _ in range(n)]) for i in range(n): print(*s,sep="")
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s773438760
p04044
Wrong Answer
N,L=map(int,input().split()) s=[] for n in range(N): s.append(input()) "".join(sorted(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s372585054
p04044
Wrong Answer
n,l=map(int,input().split()) s=sorted({input() for i in range(n)}) print("".join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s269160102
p04044
Wrong Answer
N,L=map(int,input().split()) S=sorted([input() for i in range(N)]) print(*S,end="")
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s038956819
p04044
Wrong Answer
n, l = map(int, input().split()) text_list = [input() for i in range(n)] text_list.sort() ans = ''.join(text_list[:l]) print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s403489857
p04044
Wrong Answer
N, L = map(int, input().split()) l_list = [str(input()) for i in range(N)] l_list = sorted(l_list)[:L] ans = ''.join(l_list) print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s099516992
p04044
Wrong Answer
input_N_L = input() #print( input_N_L ) N, L = map( int, input_N_L.split() ) #print( N ) #print( L ) str_set = set() for i in range( N ): str_set.add( input() ) #print( array ) sorted_str = "" for s in sorted( str_set ): sorted_str += s print( sorted_str )
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s093093646
p04044
Wrong Answer
array = input().split() N = array[0] L = array[1] strs = array[2:] #print( strs[0] ) # print( sorted(strs) ) strs_sorted = "" for s in sorted(strs) : strs_sorted += s print ( strs_sorted )
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s007224205
p04044
Wrong Answer
array = """3 5 axx bxx cxx dxx eee """.split() N = array[0] L = array[1] strs = array[2:] #print( strs[0] ) # print( sorted(strs) ) strs_sorted = "" for s in sorted(strs) : strs_sorted += s print ( strs_sorted )
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s581651412
p04044
Wrong Answer
array = input().split() N = array[0] L = array[1] strs = array[2:] print( sorted(strs) )
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s891725634
p04044
Wrong Answer
N, L = map(int, input().split()) S = [] for s in open(0).read().split(): S.append(s) S.sort() for s in S: print(s, end='') print()
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s800318982
p04044
Wrong Answer
alpha = [chr(ord('a') + i) for i in range(26)] N, L = map(int, input().split()) P = [input() for i in range(N)] scores = [] for word in P: score = 0 for t in word: score += alpha.index(t) scores.append({"word": word, "score": score}) sorted_dict_list = sorted(scores, key=lambda x:x['score']) o...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s297181983
p04044
Wrong Answer
import itertools N,L=map(int,input().split()) S=[] S_list=[] for i in range(N): S.append(input()) list(itertools.permutations(S)).sort() for i in list(itertools.permutations(S)): S_list.append("".join(i)) print(list(S_list)[0])
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s113349700
p04044
Wrong Answer
n,l=map(int,input().split()) print(n) print(l) input_str = [] for i in range(n): input_str.append(input()) input_str.sort() mojiretu = ''.join(input_str) print(mojiretu)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s373258573
p04044
Wrong Answer
n, l = map(int, input().split()) s_list = sorted([input() for i in range(n)]) mojiretu = ','.join(s_list) print(mojiretu)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s239539795
p04044
Wrong Answer
N,L=map(int,input().split()) s=[] for i in range(N): s.append(input()) s.sort() print(s) result="" for i in range(N): result+=s[i] print(result)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s579592535
p04044
Wrong Answer
def alpha2num(alpha): num=0 for index, item in enumerate(list(alpha)): num += pow(26,len(alpha)-index-1)*(ord(item)-ord('a')+1) return num def string2num(str): _N = len(str) num=0 for n in range(_N): num+=alpha2num(str[n])* (26**(_N-1-n)) return num if __name__ == "__main_...
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s135272987
p04044
Wrong Answer
N, L = map(int, input().split()) lst = [] for _ in range(N): lst.append(input()) lst.sort() print(''.join(lst[:L]))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s975429997
p04044
Wrong Answer
# -*- coding: utf-8 -*- number, length = map(int, input().split()) lst = [] for n in range(number): s = input() print(s) lst.append(s) print(lst) lst.sort() moji = "" for n in lst: moji += n print(moji)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s169504909
p04044
Wrong Answer
import itertools N,L=map(int,input().split()) S=[input() for _ in range(N)] print("".join(list(itertools.permutations(S))[0]))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s347194695
p04044
Wrong Answer
n, l = map(int, input().split()) s_list = [input() for i in range(n)] s_sorted = [] for s in s_list: sum_s_elem = '' for ss in sorted(s): sum_s_elem += ss s_sorted.append(sum_s_elem) sum_s = '' for s in sorted(s_sorted): sum_s += s print(sum_s)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s195692834
p04044
Wrong Answer
n, l = map(int, input().split()) s_list = [input() for i in range(n)] s_sorted = [] for s in s_list: sum_s_elem = '' for ss in sorted(s): sum_s_elem += ss s_sorted.append(sum_s_elem) print(s_sorted) sum_s = '' for s in sorted(s_sorted): sum_s += s print(sum_s)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s257386325
p04044
Wrong Answer
N, L = [int(i) for i in input().split()] s = [] for i in range(N): s.append(input()) s.sort() print(s) concat = ''.join(s) print(concat)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s599983293
p04044
Wrong Answer
N, L = [int(i) for i in input().split()] s = [] for i in range(N): s.append(input()) sorted(s) concat = ''.join(s) print(concat)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s412620339
p04044
Wrong Answer
n, l = map(int, input().split(" ")) ss = [input() for i in range(n)] print(''.join(ss))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s865779382
p04044
Wrong Answer
n, l = map(int, input().split()) list = [] for _ in range(n): list.append(input()) list.sort() str = "" for s in list: str += s print(s)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s907888574
p04044
Wrong Answer
N , L= map(int,input().split()) lst = list() lst2 = '' for i in range(N): lst.append(input()) for j in range(N-1): if lst[j] > lst[j+1]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for k in range(N): lst2 += lst[k] print(lst2)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s856894308
p04044
Wrong Answer
N, L=map(int, input().split()) lst = [] ans = "" for i in range(N): lst.append(input()) lst.sort for i in range(len(lst)): ans += lst[i] print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s666834220
p04044
Wrong Answer
N, L=map(int, input().split()) lst = [] ans = str() for i in range(N): lst.append(input()) lst.sort for i in range(len(lst)): ans += lst[i] print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s447251408
p04044
Wrong Answer
N, L = map(int, input().split()) S = sorted([''.join(sorted(input())) for _ in range(N)]) print(''.join(S))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s014338109
p04044
Wrong Answer
s=input().split() s.sort() print(''.join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s446849752
p04044
Wrong Answer
N,L = list(map(int,input().split(" "))) S = [input() for i in range(N)] S.sort() print(S)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s700865459
p04044
Wrong Answer
n, l = [ v for v in input().split() ] string_list = sorted([ v for v in input().split() ]) print("".join(string_list))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s490043659
p04044
Wrong Answer
n,l = map(int, input().split()) ans = input() for i in range(n-1): ans = min(ans, input()) print(ans)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s696244478
p04044
Wrong Answer
n,l=map(int,input().split()) s=[input() for i in range(n)] for i in range(n-1): si=s[i] for j in range(l): if si[j]>s[i+1][j]: s[i]=s[i+1] s[i+1]=si print(''.join(s))
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s258344499
p04044
Wrong Answer
a = sorted(list(map(str,input().split()))) b = ''.join(a) print(b)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
s567740644
p04044
Wrong Answer
n, l = map(int, input().split()) s = list() for i in range(n): s.append(input()) s = sorted(s) print(s)
3 3 dxx axx cxx
axxcxxdxx
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...