結果

問題 No.893 お客様を誘導せよ
ユーザー __2346____2346__
提出日時 2019-10-09 17:13:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 118 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 26,788 KB
最終ジャッジ日時 2023-08-10 21:28:06
合計ジャッジ時間 1,582 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,860 KB
testcase_01 AC 15 ms
7,920 KB
testcase_02 AC 32 ms
10,464 KB
testcase_03 AC 75 ms
16,780 KB
testcase_04 AC 70 ms
16,836 KB
testcase_05 AC 68 ms
15,968 KB
testcase_06 AC 49 ms
13,468 KB
testcase_07 AC 15 ms
7,780 KB
testcase_08 AC 135 ms
26,788 KB
testcase_09 AC 19 ms
8,260 KB
testcase_10 AC 15 ms
7,912 KB
testcase_11 AC 17 ms
7,792 KB
testcase_12 AC 18 ms
8,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
p=[[int(s) for s in input().split()] for _ in range(N)]
z=[]
for y in range(len(p)):
    for x in range(p[y][0]):
        z.append((x,y,p[y][x+1]))
z.sort()
print(" ".join(str(k[2]) for k in z))
0