結果
問題 |
No.893 お客様を誘導せよ
|
ユーザー |
![]() |
提出日時 | 2019-09-28 15:12:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 304 bytes |
コンパイル時間 | 230 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 19,748 KB |
最終ジャッジ日時 | 2024-10-02 08:11:01 |
合計ジャッジ時間 | 4,011 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 1 TLE * 1 -- * 9 |
ソースコード
N = int(input()) p = [] for i in range(N): line = input().split() if len(line)>=2: p.append(list(map(int,line[1:]))) i = 1 idx = 0 while i< max(max(p)): if len(p[idx])!=0: print(p[idx].pop(0),end=' ') i += 1 idx += 1 if idx==len(p): idx = 0 print("")