結果

問題 No.893 お客様を誘導せよ
ユーザー superzugansuperzugan
提出日時 2021-08-29 00:17:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 375 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 8,588 KB
最終ジャッジ日時 2023-08-14 06:10:43
合計ジャッジ時間 1,082 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,344 KB
testcase_01 AC 18 ms
8,224 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 AC 17 ms
8,168 KB
testcase_08 RE -
testcase_09 RE -
testcase_10 AC 17 ms
8,248 KB
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
lst=[[0]*100 for _ in range(100)]
max_a=0
for i in range(n):
    a,*b=map(int,input().split())
    for j in range(a):
        # print(i,j)
        lst[i][j]=b[j]
    max_a=max(max_a,a)
# print(lst,max_a)
ans_lst=[]
for i in range(100):
    for j in range(100):
        ans_lst.append(lst[j][i] if lst[j][i]!=0 else None)
print(*[i for i in ans_lst if i!=None])
0