結果

問題 No.2353 Guardian Dogs in Spring
ユーザー ryohei22ryohei22
提出日時 2023-06-17 01:37:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 494 ms
コンパイル使用メモリ 87,212 KB
実行使用メモリ 78,424 KB
最終ジャッジ日時 2023-09-07 00:46:38
合計ジャッジ時間 11,316 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,104 KB
testcase_01 AC 71 ms
71,404 KB
testcase_02 AC 70 ms
71,296 KB
testcase_03 AC 70 ms
71,220 KB
testcase_04 AC 70 ms
71,232 KB
testcase_05 AC 126 ms
78,272 KB
testcase_06 AC 121 ms
78,076 KB
testcase_07 AC 122 ms
78,128 KB
testcase_08 AC 124 ms
77,980 KB
testcase_09 AC 122 ms
78,076 KB
testcase_10 AC 122 ms
78,292 KB
testcase_11 AC 128 ms
78,392 KB
testcase_12 AC 133 ms
78,140 KB
testcase_13 AC 125 ms
78,300 KB
testcase_14 AC 71 ms
71,216 KB
testcase_15 AC 133 ms
78,056 KB
testcase_16 AC 132 ms
77,956 KB
testcase_17 AC 133 ms
78,112 KB
testcase_18 AC 133 ms
78,296 KB
testcase_19 AC 135 ms
78,208 KB
testcase_20 AC 74 ms
71,248 KB
testcase_21 AC 105 ms
77,852 KB
testcase_22 AC 121 ms
78,140 KB
testcase_23 AC 136 ms
78,132 KB
testcase_24 AC 106 ms
77,680 KB
testcase_25 AC 95 ms
76,188 KB
testcase_26 AC 88 ms
76,176 KB
testcase_27 AC 74 ms
71,204 KB
testcase_28 AC 111 ms
78,148 KB
testcase_29 AC 124 ms
78,124 KB
testcase_30 AC 117 ms
78,052 KB
testcase_31 AC 122 ms
78,092 KB
testcase_32 AC 130 ms
78,424 KB
testcase_33 AC 121 ms
78,280 KB
testcase_34 AC 125 ms
78,072 KB
testcase_35 AC 123 ms
78,296 KB
testcase_36 AC 107 ms
78,144 KB
testcase_37 AC 89 ms
76,072 KB
testcase_38 AC 119 ms
78,140 KB
testcase_39 AC 118 ms
78,180 KB
testcase_40 AC 119 ms
77,960 KB
testcase_41 AC 119 ms
78,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X = [list(map(int, input().split())) + [i+1] for i in range(N)]
X.sort()

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