結果

問題 No.893 お客様を誘導せよ
ユーザー pete1288998
提出日時 2020-06-21 17:17:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 173 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 15,872 KB
最終ジャッジ日時 2024-07-03 18:06:59
合計ジャッジ時間 1,590 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

L = [[] for i in range(10**3)]
for i in range(n):
    a = list(map(int,input().split()))
    p = a[0]
    a = a[1:]
    for j in range(p):
        L[j].append(a[j])

ans = []
for i in range(10**3):
    for j in L[i]:
        ans.append(j)
        
for i in ans:
    print(i,end=" ")
0