結果

問題 No.893 お客様を誘導せよ
ユーザー toyuzukotoyuzuko
提出日時 2020-04-10 17:18:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 255 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 10,768 KB
実行使用メモリ 14,688 KB
最終ジャッジ日時 2023-10-13 08:44:23
合計ジャッジ時間 1,627 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 15 ms
7,736 KB
testcase_02 AC 29 ms
9,092 KB
testcase_03 AC 73 ms
11,352 KB
testcase_04 AC 71 ms
11,400 KB
testcase_05 AC 63 ms
11,044 KB
testcase_06 AC 49 ms
10,288 KB
testcase_07 AC 15 ms
7,808 KB
testcase_08 AC 110 ms
14,688 KB
testcase_09 AC 18 ms
8,216 KB
testcase_10 AC 15 ms
7,780 KB
testcase_11 AC 32 ms
7,848 KB
testcase_12 AC 33 ms
8,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
P = []
A = []

for _ in range(N):
    p, *a = map(int, input().split())
    P.append(p)
    A.append(a)

M = max(P)
res = []

for i in range(M):
    for j in range(N):
        if len(A[j]) > i:
            res.append(A[j][i])

print(*res)
0