結果

問題 No.893 お客様を誘導せよ
ユーザー superzugansuperzugan
提出日時 2021-08-29 00:17:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 375 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-05-01 18:56:38
合計ジャッジ時間 1,326 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
10,880 KB
testcase_01 AC 32 ms
10,752 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 AC 32 ms
10,880 KB
testcase_08 RE -
testcase_09 RE -
testcase_10 AC 32 ms
10,880 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