結果

問題 No.2353 Guardian Dogs in Spring
ユーザー 👑 seekworserseekworser
提出日時 2023-04-11 14:58:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 216 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 78,080 KB
最終ジャッジ日時 2024-04-16 12:56:55
合計ジャッジ時間 8,960 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
51,584 KB
testcase_01 AC 41 ms
51,840 KB
testcase_02 AC 41 ms
51,840 KB
testcase_03 AC 39 ms
51,584 KB
testcase_04 AC 40 ms
51,968 KB
testcase_05 AC 106 ms
77,304 KB
testcase_06 AC 106 ms
77,440 KB
testcase_07 AC 108 ms
77,440 KB
testcase_08 AC 108 ms
77,824 KB
testcase_09 AC 121 ms
77,312 KB
testcase_10 AC 120 ms
77,056 KB
testcase_11 AC 112 ms
77,824 KB
testcase_12 AC 115 ms
77,184 KB
testcase_13 AC 108 ms
78,080 KB
testcase_14 AC 44 ms
52,480 KB
testcase_15 AC 116 ms
77,696 KB
testcase_16 AC 117 ms
77,440 KB
testcase_17 AC 120 ms
77,440 KB
testcase_18 AC 118 ms
77,824 KB
testcase_19 AC 117 ms
77,440 KB
testcase_20 AC 47 ms
52,736 KB
testcase_21 AC 89 ms
72,704 KB
testcase_22 AC 107 ms
76,800 KB
testcase_23 AC 115 ms
77,440 KB
testcase_24 AC 86 ms
70,912 KB
testcase_25 AC 81 ms
70,144 KB
testcase_26 AC 65 ms
62,720 KB
testcase_27 AC 45 ms
52,992 KB
testcase_28 AC 90 ms
73,472 KB
testcase_29 AC 110 ms
77,440 KB
testcase_30 AC 108 ms
76,928 KB
testcase_31 AC 107 ms
77,184 KB
testcase_32 AC 114 ms
77,440 KB
testcase_33 AC 107 ms
77,824 KB
testcase_34 AC 107 ms
77,440 KB
testcase_35 AC 105 ms
77,312 KB
testcase_36 AC 89 ms
73,984 KB
testcase_37 AC 65 ms
63,872 KB
testcase_38 AC 101 ms
76,928 KB
testcase_39 AC 101 ms
76,672 KB
testcase_40 AC 103 ms
77,184 KB
testcase_41 AC 103 ms
77,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
xy = []
for i in range(1, n+1):
    x, y = map(int, input().split())
    xy.append((x, y, i))
xy.sort()

print(n // 2)
for i in range(n // 2):
    print(xy[2*i][2], xy[i*2+1][2])
0