結果

問題 No.893 お客様を誘導せよ
ユーザー naoe123naoe123
提出日時 2020-02-01 03:26:07
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 607 ms
コンパイル使用メモリ 11,824 KB
実行使用メモリ 22,608 KB
最終ジャッジ日時 2023-10-18 23:03:51
合計ジャッジ時間 3,120 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,024 KB
testcase_01 AC 29 ms
10,024 KB
testcase_02 AC 49 ms
11,572 KB
testcase_03 AC 111 ms
16,000 KB
testcase_04 AC 107 ms
15,724 KB
testcase_05 AC 97 ms
15,296 KB
testcase_06 AC 77 ms
13,560 KB
testcase_07 AC 29 ms
10,028 KB
testcase_08 AC 101 ms
22,608 KB
testcase_09 AC 32 ms
10,280 KB
testcase_10 AC 29 ms
10,032 KB
testcase_11 AC 125 ms
10,144 KB
testcase_12 AC 125 ms
10,292 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
P = [list(map(int,input().split())) for l in range(N)]
num=[]
for i in range(N):
    num.append(P[i][0])

ans=[]

for i in range(1,max(num)+1):
    for j in range(N):
        try:
            ans.append(P[j][i])
        except:
            pass

print(' '.join(list(map(str,ans))))
0