結果

問題 No.2353 Guardian Dogs in Spring
ユーザー meruuu61779999meruuu61779999
提出日時 2023-06-17 00:01:43
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 223 bytes
コンパイル時間 332 ms
コンパイル使用メモリ 87,184 KB
実行使用メモリ 81,928 KB
最終ジャッジ日時 2023-09-06 23:07:23
合計ジャッジ時間 12,471 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 73 ms
71,224 KB
testcase_02 AC 69 ms
71,388 KB
testcase_03 AC 69 ms
71,568 KB
testcase_04 AC 70 ms
71,336 KB
testcase_05 AC 116 ms
78,572 KB
testcase_06 AC 116 ms
78,604 KB
testcase_07 AC 119 ms
78,576 KB
testcase_08 AC 119 ms
78,676 KB
testcase_09 AC 131 ms
79,052 KB
testcase_10 AC 135 ms
79,032 KB
testcase_11 AC 124 ms
78,664 KB
testcase_12 AC 124 ms
78,680 KB
testcase_13 AC 119 ms
78,440 KB
testcase_14 AC 72 ms
71,180 KB
testcase_15 AC 131 ms
78,644 KB
testcase_16 AC 130 ms
78,572 KB
testcase_17 AC 129 ms
78,752 KB
testcase_18 AC 128 ms
78,644 KB
testcase_19 AC 130 ms
78,564 KB
testcase_20 AC 73 ms
71,460 KB
testcase_21 AC 108 ms
78,268 KB
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 RE -
testcase_26 AC 86 ms
75,652 KB
testcase_27 AC 74 ms
71,504 KB
testcase_28 AC 109 ms
78,268 KB
testcase_29 AC 122 ms
78,376 KB
testcase_30 RE -
testcase_31 AC 120 ms
78,768 KB
testcase_32 AC 127 ms
78,716 KB
testcase_33 AC 122 ms
78,676 KB
testcase_34 AC 119 ms
78,456 KB
testcase_35 AC 121 ms
78,684 KB
testcase_36 AC 106 ms
78,216 KB
testcase_37 AC 88 ms
75,344 KB
testcase_38 RE -
testcase_39 RE -
testcase_40 AC 121 ms
78,688 KB
testcase_41 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
point = []
for pi in range(1, N + 1):
    x, y = map(int, input().split())
    point.append((x, y, pi))
point.sort()

print(len(point) // 2)
for i in range(0, N, 2):
    print(point[i][2], point[i + 1][2])
0