結果

問題 No.2353 Guardian Dogs in Spring
ユーザー sepa38sepa38
提出日時 2023-06-17 10:31:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 543 ms
コンパイル使用メモリ 86,912 KB
実行使用メモリ 78,244 KB
最終ジャッジ日時 2023-09-07 07:50:26
合計ジャッジ時間 11,086 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,336 KB
testcase_01 AC 74 ms
71,312 KB
testcase_02 AC 74 ms
71,340 KB
testcase_03 AC 71 ms
71,328 KB
testcase_04 AC 71 ms
71,296 KB
testcase_05 AC 125 ms
77,616 KB
testcase_06 AC 125 ms
78,028 KB
testcase_07 AC 125 ms
78,244 KB
testcase_08 AC 123 ms
78,020 KB
testcase_09 AC 123 ms
77,984 KB
testcase_10 AC 126 ms
78,232 KB
testcase_11 AC 133 ms
77,924 KB
testcase_12 AC 136 ms
78,228 KB
testcase_13 AC 127 ms
78,140 KB
testcase_14 AC 76 ms
71,184 KB
testcase_15 AC 136 ms
77,976 KB
testcase_16 AC 136 ms
78,040 KB
testcase_17 AC 140 ms
77,972 KB
testcase_18 AC 136 ms
78,140 KB
testcase_19 AC 135 ms
77,900 KB
testcase_20 AC 76 ms
70,988 KB
testcase_21 AC 115 ms
77,756 KB
testcase_22 AC 123 ms
77,624 KB
testcase_23 AC 134 ms
78,048 KB
testcase_24 AC 107 ms
77,348 KB
testcase_25 AC 93 ms
76,292 KB
testcase_26 AC 92 ms
75,540 KB
testcase_27 AC 74 ms
71,280 KB
testcase_28 AC 112 ms
77,648 KB
testcase_29 AC 125 ms
77,948 KB
testcase_30 AC 122 ms
77,548 KB
testcase_31 AC 128 ms
77,888 KB
testcase_32 AC 132 ms
77,980 KB
testcase_33 AC 127 ms
77,884 KB
testcase_34 AC 128 ms
78,044 KB
testcase_35 AC 129 ms
78,044 KB
testcase_36 AC 112 ms
77,504 KB
testcase_37 AC 93 ms
75,888 KB
testcase_38 AC 119 ms
77,888 KB
testcase_39 AC 121 ms
77,904 KB
testcase_40 AC 126 ms
77,916 KB
testcase_41 AC 123 ms
77,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ls = [list(map(int, input().split())) + [i] for i in range(n)]
ls.sort()
print(n//2)
for i in range(n//2):
  print(ls[i*2][2]+1, ls[i*2+1][2] + 1)
0