結果

問題 No.2353 Guardian Dogs in Spring
ユーザー fiblonariafiblonaria
提出日時 2023-06-20 16:10:16
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 186 bytes
コンパイル時間 439 ms
コンパイル使用メモリ 87,028 KB
実行使用メモリ 84,292 KB
最終ジャッジ日時 2023-09-10 11:47:13
合計ジャッジ時間 12,724 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 72 ms
71,056 KB
testcase_02 AC 71 ms
71,144 KB
testcase_03 AC 71 ms
71,016 KB
testcase_04 AC 73 ms
71,156 KB
testcase_05 AC 146 ms
78,152 KB
testcase_06 AC 126 ms
77,816 KB
testcase_07 AC 130 ms
77,968 KB
testcase_08 AC 126 ms
77,912 KB
testcase_09 AC 128 ms
77,912 KB
testcase_10 AC 128 ms
77,948 KB
testcase_11 AC 135 ms
77,812 KB
testcase_12 AC 137 ms
78,128 KB
testcase_13 AC 127 ms
77,804 KB
testcase_14 AC 75 ms
71,180 KB
testcase_15 AC 137 ms
78,044 KB
testcase_16 AC 138 ms
77,868 KB
testcase_17 AC 139 ms
77,912 KB
testcase_18 AC 140 ms
77,868 KB
testcase_19 AC 140 ms
77,852 KB
testcase_20 AC 78 ms
71,004 KB
testcase_21 AC 111 ms
77,740 KB
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 RE -
testcase_26 AC 94 ms
75,836 KB
testcase_27 AC 74 ms
71,216 KB
testcase_28 AC 113 ms
77,744 KB
testcase_29 AC 127 ms
77,824 KB
testcase_30 RE -
testcase_31 AC 126 ms
77,944 KB
testcase_32 AC 136 ms
78,012 KB
testcase_33 AC 127 ms
77,860 KB
testcase_34 AC 128 ms
77,844 KB
testcase_35 AC 127 ms
77,712 KB
testcase_36 AC 112 ms
77,668 KB
testcase_37 AC 92 ms
75,808 KB
testcase_38 RE -
testcase_39 RE -
testcase_40 AC 125 ms
77,636 KB
testcase_41 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
dogs = [tuple(list(map(int, input().split())) + [i + 1]) for i in range(N)]
dogs = sorted(dogs)
print(N // 2)
for i in range(0, N, 2):
	print(dogs[i][2], dogs[i + 1][2])
0