結果

問題 No.893 お客様を誘導せよ
ユーザー rlangevin
提出日時 2024-08-15 12:12:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 510 ms
コンパイル使用メモリ 82,404 KB
実行使用メモリ 89,196 KB
最終ジャッジ日時 2024-08-15 12:12:21
合計ジャッジ時間 2,769 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *

N = int(input())
A = []
ans = []
for i in range(N):
    A.append(deque(map(int, input().split())))
    A[i].popleft()
    
for _ in range(105):
    for i in range(N):
        if A[i]:
            ans.append(A[i].popleft())
            
print(*ans)
0