結果

問題 No.893 お客様を誘導せよ
ユーザー ああいいああいい
提出日時 2022-03-13 22:57:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 217 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 81,644 KB
実行使用メモリ 85,904 KB
最終ジャッジ日時 2023-10-19 10:24:39
合計ジャッジ時間 1,966 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,304 KB
testcase_01 AC 38 ms
53,304 KB
testcase_02 AC 60 ms
70,464 KB
testcase_03 AC 90 ms
77,912 KB
testcase_04 AC 90 ms
77,988 KB
testcase_05 AC 84 ms
79,296 KB
testcase_06 AC 76 ms
77,800 KB
testcase_07 AC 39 ms
53,304 KB
testcase_08 AC 100 ms
85,904 KB
testcase_09 AC 62 ms
65,980 KB
testcase_10 AC 40 ms
53,304 KB
testcase_11 AC 58 ms
63,928 KB
testcase_12 AC 67 ms
68,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = []
l = []
for _ in range(N):
    p,*a = map(int,input().split())
    l.append(a[::-1])
for _ in range(100):
    for i in range(N):
        if l[i]:
            ans.append(l[i].pop())
print(*ans)
0