結果

問題 No.893 お客様を誘導せよ
ユーザー O2MTO2MT
提出日時 2020-12-08 11:39:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 258 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 12,008 KB
実行使用メモリ 16,788 KB
最終ジャッジ日時 2023-10-17 17:03:08
合計ジャッジ時間 1,939 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,176 KB
testcase_01 AC 30 ms
10,176 KB
testcase_02 AC 43 ms
11,052 KB
testcase_03 AC 79 ms
13,320 KB
testcase_04 AC 77 ms
13,292 KB
testcase_05 AC 76 ms
12,928 KB
testcase_06 AC 61 ms
12,212 KB
testcase_07 AC 29 ms
10,176 KB
testcase_08 AC 138 ms
16,788 KB
testcase_09 AC 33 ms
10,316 KB
testcase_10 AC 29 ms
10,184 KB
testcase_11 AC 33 ms
10,188 KB
testcase_12 AC 34 ms
10,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
M = 10**2
arr = [[] for _ in range(M)]
for i in range(N):
    l = list(map(int,input().split()))
    P,A = l[0],l[1:]
    for j in range(P):
        arr[j].append(A[j])
ans = []
for i in arr:
    for j in i:
        ans.append(j)
print(*ans)
0