結果
| 問題 |
No.893 お客様を誘導せよ
|
| コンテスト | |
| ユーザー |
r_ishida
|
| 提出日時 | 2020-02-05 01:24:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 125 ms / 2,000 ms |
| コード長 | 287 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 21,632 KB |
| 最終ジャッジ日時 | 2024-09-21 07:54:56 |
| 合計ジャッジ時間 | 1,464 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 |
ソースコード
n = int(input())
a = []
p = []
for i in range(n):
a.append(list(map(int,input().split())))
p.append(a[i][0])
ans = []
for i in range(max(p)):
for j in range(n):
if len(a[j]) != 1:
ans.append(a[j][1])
a[j].pop(1)
print(' '.join(map(str, ans)))
r_ishida