結果

問題 No.893 お客様を誘導せよ
ユーザー nuekodorynuekodory
提出日時 2019-09-27 21:49:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 11,968 KB
実行使用メモリ 22,428 KB
最終ジャッジ日時 2023-10-24 17:48:05
合計ジャッジ時間 1,318 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,008 KB
testcase_01 AC 26 ms
10,008 KB
testcase_02 AC 36 ms
11,524 KB
testcase_03 AC 71 ms
15,848 KB
testcase_04 AC 68 ms
15,576 KB
testcase_05 AC 63 ms
15,132 KB
testcase_06 AC 52 ms
13,468 KB
testcase_07 AC 26 ms
10,008 KB
testcase_08 AC 96 ms
22,428 KB
testcase_09 AC 43 ms
10,232 KB
testcase_10 AC 26 ms
10,012 KB
testcase_11 AC 40 ms
10,124 KB
testcase_12 AC 41 ms
10,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

num_row = int(input())

arr = [[int(x) for x in reversed(input().split(' '))] for _ in range(0, num_row)]
ans = []

for lis in arr:
    lis.pop()

for _ in range(0, 101):
    for lis in arr:
        if len(lis) > 0:
            ans.append(lis.pop())

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