s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s524965116 | p04044 | u023229441 | 1551238400 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 124 | n,l=map(int,input().split())
A=[]
for i in range(n):
A.append(input())
A.sort()
d=""
for i in range(n):
d+=A[i]
print(d) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,217 |
s369588879 | p04044 | u033524082 | 1551206916 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 121 | n,l=map(int,input().split())
li=[input() for _ in range(n)]
li.sort()
ans=""
for i in range(n):
ans+=li[i]
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,218 |
s461498685 | p04044 | u326294217 | 1551110111 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 278 | import fileinput
def main(str_list):
str_list.sort()
result = ""
for s in str_list:
result += s
print(result)
if __name__ == '__main__':
str_list = []
for line in fileinput.input():
str_list.append(line.rstrip())
main(str_list[1:])
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,219 |
s947928617 | p04044 | u083960235 | 1551044886 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 136 | #042B
n,l=map(int,input().split())
a=[]
for i in range(n):
a.append(input())
a.sort()
#print(a)
l=''
for i in a:
l+=str(i)
print(l)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,220 |
s892096459 | p04044 | u275934251 | 1551034964 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 135 | n,l=map(int,input().split())
a=[]
for i in range(n):
a.append(input())
a.sort()
for i in range(n):
print(a[i],end="")
print("") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,221 |
s739849169 | p04044 | u887207211 | 1550982597 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 89 | N, L = map(int,input().split())
S = sorted([input() for _ in range(N)])
print(''.join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,222 |
s201763790 | p04044 | u393512980 | 1550981226 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 147 | N, L = map(int, input().split())
lst = []
for i in range(N):
lst.append(input())
lst = sorted(lst)
for s in lst:
print(s, end = "")
print() | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,223 |
s598481663 | p04044 | u899975427 | 1550971796 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 89 | n,l=(int(i) for i in input().split())
print(''.join(sorted([input() for i in range(n)]))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,224 |
s994794260 | p04044 | u076503518 | 1550957435 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 113 | N, L = map(int, input().split())
S = []
for _ in [0]*N:
S.append(input().rstrip())
S.sort()
print(''.join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,225 |
s420324630 | p04044 | u472157830 | 1550899677 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 122 | N,L = map(int,input().split())
strs = []
for _ in range(N):
strs.append(str(input()))
strs.sort()
print(''.join(strs)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,226 |
s305921096 | p04044 | u496744988 | 1550867795 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 81 | n,l=map(int,input().split())
print(''.join(sorted([input() for i in range(n)])))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,227 |
s673394586 | p04044 | u007550226 | 1550858741 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 82 | N,_ = map(int,input().split())
print(''.join(sorted([input() for _ in range(N)]))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,228 |
s238360191 | p04044 | u812973725 | 1550741853 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 99 | N,L = map(int,raw_input().split())
S = [raw_input() for i in range(N)]
S.sort()
print ''.join(S) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,229 |
s112626883 | p04044 | u860670906 | 1550713316 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 127 | com=input().split()
data=[]
for i in range(int(com[0])):
data.append(input())
data.sort()
data=''.join(data)
print (data)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,230 |
s989282898 | p04044 | u143509139 | 1550700085 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 126 | n,l=map(int, input().split())
strs = []
for i in range(n):
strs.append(input())
strs.sort()
strs = ''.join(strs)
print(strs) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,231 |
s511278902 | p04044 | u543954314 | 1550693697 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 92 | n, _ = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
print("".join(s))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,232 |
s921820833 | p04044 | u492030100 | 1550685244 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 103 | N,L=map(int,input().split())
S=[input() for _ in range(N)]
S.sort()
print(','.join(S).replace(',','')) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,233 |
s608995144 | p04044 | u796942881 | 1550669255 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 146 | N, L = map(int, input().split())
l = []
for i in range(N):
l.append(input())
l.sort()
for i in range(N):
print(l[i], end='')
print()
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,234 |
s408506304 | p04044 | u316386814 | 1550667605 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 146 | n, l = list(map(int, input().split()))
ss = []
for _ in range(n):
ss.append(input())
ss.sort()
ans = ''
for s in ss:
ans += s
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,235 |
s144280739 | p04044 | u516272298 | 1550641612 | Python | Python (3.4.3) | py | Accepted | 21 | 3060 | 109 | n,a = map(int,input().split())
l = []
for i in range(n):
l.append(str(input()))
print("".join(sorted(l))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,236 |
s130462090 | p04044 | u516272298 | 1550641487 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 125 | n,l = map(int,input().split())
l = []
for i in range(n):
s = str(input())
l.append(s)
a = sorted(l)
print("".join(a)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,237 |
s559015333 | p04044 | u114954806 | 1550602632 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 79 | N,L=map(int,input().split())
print(*sorted([input() for i in range(N)]),sep="") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,238 |
s118347890 | p04044 | u488178971 | 1550581703 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 164 | n,l=list(map(int,input().split()))
string_list=[input() for i in range(n)]
string_list.sort()
result=''
for i in range(n):
result +=string_list[i]
print(result) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,239 |
s418108992 | p04044 | u296783581 | 1550543216 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 92 | n,l = map(int, input().split())
a = [input() for i in range(n)]
a.sort()
print(('').join(a)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,240 |
s013630050 | p04044 | u604412462 | 1550532358 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 124 | NL = list(map(int, input().split()))
s_list = [input() for i in range(NL[0])]
s_list.sort()
ans = ''.join(s_list)
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,241 |
s866875634 | p04044 | u952130512 | 1550485268 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 111 | n,l=input().split()
N=int(n)
L=int(l)
s=[]
for i in range(N):
s.append(input())
s.sort()
print(("").join(s))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,242 |
s081840749 | p04044 | u926678805 | 1550457997 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 79 | n,l=map(int,input().split())
print(*sorted([input() for i in range(n)]),sep='') | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,243 |
s603397042 | p04044 | u582396808 | 1550426990 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 198 | str_num, str_len = input().rstrip().split(" ")
str_list = []
for i in range(int(str_num)):
str_list.append(input())
str_list = sorted(str_list)
for string in str_list:
print(string, end="") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,244 |
s777780760 | p04044 | u503228842 | 1550343175 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 103 | n, s = map(int, input().split())
wlist = [input() for _ in range(n)]
wlist.sort()
print("".join(wlist)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,245 |
s901225021 | p04044 | u518064858 | 1550327901 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 123 | n,l=map(int,input().split())
a=[]
for i in range(n):
a.append(input())
b=sorted(a)
s=""
for j in b:
s+=j
print(s)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,246 |
s992811696 | p04044 | u177756077 | 1550282003 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 114 | N,L=map(int,input().split())
S=[]
for i in range(N):
S.append(str(input()))
S.sort()
ans=''.join(S)
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,247 |
s746329186 | p04044 | u859897687 | 1550036593 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 138 | n,l=map(int,input().split())
s =[]
for _ in range(n):
t = input()
s +=[t]
s.sort()
ans =""
for x in s:
ans +=x
print(ans)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,248 |
s525461075 | p04044 | u891217808 | 1549976760 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 110 | N, L = input().split(" ")
dic = []
for _ in range(int(N)):
dic.append(input())
print("".join(sorted(dic))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,249 |
s666823585 | p04044 | u939702463 | 1549931930 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 92 | n, l = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
print(''.join(s)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,250 |
s411477649 | p04044 | u740284863 | 1549931707 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 138 | n,l = map(int,input().split())
words = sorted([str(input()) for i in range(n)])
ans = ""
for i in range(n):
ans += words[i]
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,251 |
s083991200 | p04044 | u367130284 | 1549739519 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 84 | n,m=map(int,input().split())
A=sorted([input() for s in range(n)])
print("".join(A)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,252 |
s717837204 | p04044 | u729133443 | 1549720644 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 49 | print(*sorted(open(0).read().split()[2:]),sep='') | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,253 |
s079246784 | p04044 | u729133443 | 1549720573 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 50 | print(''.join(sorted(open(0).read().split()[2:]))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,254 |
s913420625 | p04044 | u454557108 | 1549607601 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 158 | n,a = map(int,input().split())
str_list = [input() for i in range(n)]
str_list.sort()
answer = ''
for i in range(n):
answer += str_list[i]
print(answer) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,255 |
s732543323 | p04044 | u411858517 | 1549603389 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | N, L = map(int, input().split())
res = ''
S = [ input() for i in range(N)]
S.sort()
for s in S:
res += s
print(res) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,256 |
s597884100 | p04044 | u610232844 | 1549589108 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 116 | N,L = [int(i) for i in input().split()]
D = [input() for j in range(N)]
D_sort = sorted(D)
print("".join(D_sort))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,257 |
s557614369 | p04044 | u262869085 | 1549508799 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 98 | N,L =[int(i)for i in input().split()]
S =[input()for _ in range(N)]
S =sorted(S)
print("".join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,258 |
s042234225 | p04044 | u689562091 | 1549312185 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 128 | N, L = map(int, input().split())
l = []
for i in range(N):
l.append(input())
l.sort()
s = ''
for i in l:
s += i
print(s) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,259 |
s354091072 | p04044 | u190086340 | 1549145036 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 178 | N, L = list(map(int, input().split()))
def solve():
strs = []
for _ in range(N):
strs.append(input())
strs.sort()
return "".join(strs)
print(solve())
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,260 |
s171713050 | p04044 | u977389981 | 1549041404 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 116 | n, l = map(int, input().split())
S = sorted([[input()] for i in range(n)])
A = ''
for s in S:
A += s[0]
print(A) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,261 |
s188678418 | p04044 | u502709453 | 1549040888 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 122 | a=[]
for i in range(map(int,input().split()).__next__()):
a.append(input());
a.sort();
for s in a:
print(s,end='') | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,262 |
s482550347 | p04044 | u676707608 | 1548929726 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 124 | a,b=[int(i) for i in input().split()]
c=[]
for i in range(a):
c.append(input())
c.sort()
for i in c:
print(i,end="") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,263 |
s524800353 | p04044 | u661308718 | 1548929587 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 112 | n, l = map(int, input().split())
s = []
for _ in range(n):
s.append(str(input()))
print("".join(sorted(s))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,264 |
s331134170 | p04044 | u223133214 | 1548810993 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 104 | N,L=map(int,input().split())
s = []
for i in range(N):
s.append(input())
s.sort()
print(''.join(s))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,265 |
s226736052 | p04044 | u483645888 | 1548801567 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 165 | N, L = map(int, input().split())
words = []
for i in range(N):
words.append(input())
new_words = sorted(words)
ans = ''
for w in new_words:
ans += w
print(ans)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,266 |
s235527275 | p04044 | u185896732 | 1548789431 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 116 | n,l=map(int,input().split())
s=[input() for i in range(n)]
s.sort()
fln=''
for i in range(n):
fln+=s[i]
print(fln) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,267 |
s328970503 | p04044 | u950708010 | 1548778525 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 102 | n,l = list(int(i) for i in input().split())
s = [input() for i in range(n)]
s.sort()
print(''.join(s)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,268 |
s671560128 | p04044 | u690536347 | 1548694681 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 85 | n,l=map(int,input().split())
s=[input() for _ in range(n)]
s.sort()
print("".join(s)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,269 |
s151015242 | p04044 | u316386814 | 1548639457 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 118 | n, k = list(map(int, input().split()))
li = []
for _ in range(n):
li.append(input())
li.sort()
print(''.join(li)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,270 |
s225378529 | p04044 | u132344815 | 1548531000 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 137 | n, l = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
mojiretsu = ''
for x in s:
mojiretsu += x
print(mojiretsu) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,271 |
s882803405 | p04044 | u439392790 | 1548253428 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | N,L=map(int,input().split())
list=[]
i=0
while i<N:
S=input()
list.append(S)
i+=1
list.sort()
print(''.join(list)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,272 |
s482992420 | p04044 | u711295009 | 1548212616 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 151 | n, l = map(int, input().split())
index=0
listS=[]
while index < n:
s = input()
listS.append(s)
index+=1
listS.sort()
print("".join(listS)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,273 |
s463576407 | p04044 | u444732068 | 1548180476 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 143 | N,L = map(int,input().split())
s = list(input() for i in range(N))###input from each lines
s_sort = sorted(s)
ans = "".join(s_sort)
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,274 |
s214399304 | p04044 | u709630872 | 1548052568 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 91 | N, L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
print("".join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,275 |
s878729358 | p04044 | u709630872 | 1548052329 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 129 | n,l = map(int,input().split())
A = [input() for _ in range(n)]
A.sort()
ans = ''
for i in range(n):
ans += A[i]
print(ans)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,276 |
s542197843 | p04044 | u595893956 | 1547964243 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 116 | n,l = map(int,input().split())
a=list(input() for i in range(n))
a.sort()
s=''
for i in range(n):
s+=a[i]
print(s) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,277 |
s496060190 | p04044 | u934740772 | 1547958848 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 132 | N,L=map(int,input().split())
S=[0]*N
for i in range(N):
S[i]=input()
S.sort()
ans=''
for i in range(N):
ans+=S[i]
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,278 |
s139549475 | p04044 | u572561929 | 1547841188 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 111 | N, L = map(int, input().split())
S = ['_'] * N
for i in range(N):
S[i] = input()
print(''.join(sorted(S)))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,279 |
s358693801 | p04044 | u983918956 | 1547827669 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 99 | N,L = map(int,input().split())
s = [input() for i in range(N)]
s.sort()
ans = "".join(s)
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,280 |
s413608709 | p04044 | u651663683 | 1547695804 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 113 |
n=int(input().split()[0])
l=[]
for i in range(n):
l.append(input())
l.sort()
r=""
for i in l:
r+=i
print(r)
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,281 |
s192581219 | p04044 | u811156202 | 1547690952 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 189 | amount, length = map(int, input().rstrip().split())
str_list =sorted([input().rstrip() for a in range(amount)])
the_str = ''
for a in range(amount):
the_str += str_list[a]
print(the_str) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,282 |
s641586338 | p04044 | u619819312 | 1547636797 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 115 | n,l=map(int,input().split())
p=[input()for i in range(n)]
p.sort()
a=p[0]
for i in range(1,n):
a+=p[i]
print(a) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,283 |
s838737038 | p04044 | u811156202 | 1547624980 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 544 | #最初に入力される情報を整理する
str_input_list = input().rstrip().split(' ')
int_input_list = []
for a in str_input_list:
int_input_list.append(int(a))
amount = int_input_list[0]
length = int_input_list[1]
#文字列を受け取りリストに格納
mojiretu_list = []
for a in range(amount):
mojiretu_list.append(input())
#文字列を小さい順に並べ、結合
sorted_list... | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,284 |
s053788936 | p04044 | u811156202 | 1547624803 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 105 | amount, length = map(int, input().split())
S = sorted([input() for a in range(amount)])
print(''.join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,285 |
s802100367 | p04044 | u882209234 | 1547607691 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 114 | N, L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
for s in S:
print(s,end='')
print() | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,286 |
s983697740 | p04044 | u658978681 | 1547531265 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 85 | n,l = input().split()
s = [input() for i in range(int(n))]
s.sort()
print("".join(s)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,287 |
s401103617 | p04044 | u171366497 | 1547512638 | Python | Python (3.4.3) | py | Accepted | 56 | 3064 | 638 | N , L = map(int,input().split())
alpha='abcdefghijklmnopqrstuvwxyz'
def which(a,b):
l=len(a)
for i in range(l):
x=alpha.index(a[i])
y=alpha.index(b[i])
if x<y:return True
if x>y:return False
S = []
S.append(str(input()))
for i in range(1,N):
Si=str(input())
for j... | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,288 |
s221978567 | p04044 | u371467115 | 1547334128 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 84 | n,l=map(int,input().split())
s=[input() for i in range(n)]
print("".join(sorted(s))) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,289 |
s288785632 | p04044 | u231647664 | 1547331491 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 135 | n, l = map(int, input().split())
sn = []
for _ in range(1, n+1):
sn.append(input())
sn = sorted(sn)
sn = ''.join(sn)
print(sn) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,290 |
s636709009 | p04044 | u762682474 | 1547039359 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 220 | def execute(n, l, sn):
return ''.join(sorted(sn))
pass
if __name__ == '__main__':
n, l = map(int, input().split())
sn = []
for _ in range(n):
sn.append(input())
print(execute(n, l, sn))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,291 |
s564092164 | p04044 | u597374218 | 1547004726 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 79 | n,l=map(int,input().split())
print(*sorted([input() for i in range(n)]),sep="") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,292 |
s992843470 | p04044 | u597374218 | 1547004622 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 83 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print(*s,sep="") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,293 |
s407012520 | p04044 | u785578220 | 1546861930 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 124 | a,b = map(int,input().split())
k = []
s = ""
for i in range(a):
k.append(input())
k.sort()
for i in k:
s+=i
print(s) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,294 |
s129128173 | p04044 | u303059352 | 1546765551 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 93 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,295 |
s607643157 | p04044 | u272557899 | 1546720475 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 141 | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
for i in range(n):
print(''.join(s[i]), end="") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,296 |
s081660366 | p04044 | u127856129 | 1546671871 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 99 | a,b=map(int,input().split())
c=[]
for i in range(a):
c.append(input())
c.sort()
print("".join(c)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,297 |
s157409931 | p04044 | u726439578 | 1546666949 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 101 | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
print("".join(s)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,298 |
s966863512 | p04044 | u127856129 | 1546660409 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 108 | n,l=map(int,input().split())
c=[]
for i in range(n):
c.append(input())
c.sort()
print("".join(c))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,299 |
s000191862 | p04044 | u912158215 | 1546597522 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 248 | N, L = map(int, input().split())
#標準入力からリストの作成
list = []
for _ in range(N):
i = str(input())
list.append(i)
#リストのソート
list_a = sorted(list)
#リストの結合
mojiretu = ''.join(list_a)
print(mojiretu) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,300 |
s724258280 | p04044 | u928784113 | 1546532824 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 123 | N,L = map(int,input().split())
S = []
for i in range(N):
S.append(str(input()))
des_S = sorted(S)
print("".join(des_S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,301 |
s507947657 | p04044 | u813916554 | 1546495275 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | a,b=input().split()
a=int(a)
c=[]
for i in range(a):
d=input()
c.append(d)
c.sort()
s=''
for i in c:
s+=i
print(s) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,302 |
s766728068 | p04044 | u739008524 | 1546461139 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 156 | import sys
n,l = map(int,input().split())
s =[]
for i in range(n):
s.append((input()))
s.sort()
for i in range(n):
sys.stdout.write(s[i])
print("")
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,303 |
s675458766 | p04044 | u972398652 | 1546424628 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 91 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
print("".join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,304 |
s412836516 | p04044 | u777923818 | 1546385741 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 85 | N, L = map(int, input().split())
print("".join(sorted([input() for _ in range(N)])))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,305 |
s038522829 | p04044 | u281303342 | 1546365963 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 117 | N,L = map(int,input().split())
S = []
for i in range(N):
s = input()
S.append(s)
S.sort()
print("".join(S)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,306 |
s655670499 | p04044 | u565380863 | 1546365841 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 201 | import sys
input = sys.stdin.readline
def ii():
return int(input())
def il():
return list(map(int, input().split()))
N, L = il()
print("".join(sorted([input()[:-1] for _ in range(N)])))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,307 |
s612518385 | p04044 | u089032001 | 1546318699 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 91 | n, l = map(int, input().split())
A = [input() for _ in range(n)]
A.sort()
print("".join(A)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,308 |
s179169336 | p04044 | u586149955 | 1546303473 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 92 | n, l = [int(x) for x in input().split()]
print(''.join(sorted([input() for _ in [0] * n])))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,309 |
s375720337 | p04044 | u586478468 | 1546275991 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 139 | n, l = map(int, input().split())
A = []
for i in range(n):
A.append(input())
A.sort()
ans = ''
for i in A:
ans += i
print(ans) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,310 |
s138635051 | p04044 | u706237750 | 1546272061 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 95 | n,l = map(int,input().split())
lst = [input() for _ in range(n)]
lst.sort()
print("".join(lst)) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,311 |
s813315144 | p04044 | u126823513 | 1546258446 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 135 | int_n, int_l = map(int, input().split())
li_s = list()
for i in range(int_n):
li_s.append(input())
print("".join(sorted(li_s)))
| p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,312 |
s702167408 | p04044 | u801359367 | 1546220113 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 103 | N,_ = list(map(int,input().split()))
A = [input() for i in range(N)]
A.sort()
B = "".join(A)
print(B) | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,313 |
s235456780 | p04044 | u037449077 | 1546213252 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 418 | import sys
lines = sys.stdin.readlines()
strings = []
for n, line in enumerate(lines):
if n == 0:
N, L = [int(_) for _ in line.strip().split(' ')]
continue
strings.append(line.strip())
def append(source, target):
source = sorted(source)
target.append(source[0])
source.remove(source[0])
if not len... | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,314 |
s870409583 | p04044 | u048945791 | 1546203812 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 118 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
for s in S:
print(s, end = "")
print("") | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,315 |
s679620370 | p04044 | u197300260 | 1546128654 | Python | Python (3.4.3) | py | Accepted | 24 | 3692 | 777 | # _*_ coding:utf-8 _*_
# Atcoder_Beginners_Contest042-B
# TODO https://atcoder.jp/contests/abc042/tasks/abc042_b
import time
from contextlib import contextmanager
# from time import sleep
@contextmanager
def timer(title):
t0 = time.time()
yield
print("{} - done in {:.0f}s".format(title,time.time()-t0) )
def make... | p04044 | <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... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,316 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.