結果

問題 No.893 お客様を誘導せよ
ユーザー OhnumaOhnuma
提出日時 2020-04-10 15:10:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 321 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 15,004 KB
最終ジャッジ日時 2023-10-13 05:16:09
合計ジャッジ時間 2,087 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,844 KB
testcase_01 AC 15 ms
7,960 KB
testcase_02 AC 29 ms
9,392 KB
testcase_03 AC 68 ms
11,524 KB
testcase_04 AC 67 ms
11,356 KB
testcase_05 AC 61 ms
11,184 KB
testcase_06 AC 49 ms
10,248 KB
testcase_07 AC 17 ms
7,852 KB
testcase_08 AC 126 ms
15,004 KB
testcase_09 AC 19 ms
8,344 KB
testcase_10 AC 16 ms
7,896 KB
testcase_11 AC 19 ms
7,884 KB
testcase_12 AC 20 ms
8,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
line = [[] for _ in range(1000)]
for _ in range(n):
    l = list(input().split())
    p = int(l[0])
    for j in range(p):
        line[j].append(int(l[j+1]))
ret = []
i = 0
while True:
    if not line[i]:
        break
    else:
        for c in line[i]:
            ret.append(c)
    i += 1
print(*ret)
0