結果

問題 No.893 お客様を誘導せよ
ユーザー nohakai3
提出日時 2022-07-24 18:50:28
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 24,520 KB
最終ジャッジ日時 2024-07-06 13:43:18
合計ジャッジ時間 6,487 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample TLE * 1 -- * 1
other -- * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

l=[]
cnt=0
n=int(input())
for i in range(n):
    q=list(map(int,input().split()))
    l.append(q[1:])
    cnt+=q[0]

cnt=0
ans=[]
while l:
    for x in l:
        if len(x)==0:
            continue
        ans.append(x.pop(0))


print(ans)
0