結果

問題 No.2353 Guardian Dogs in Spring
ユーザー とりゐとりゐ
提出日時 2023-06-16 22:22:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 675 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 79,016 KB
最終ジャッジ日時 2023-09-06 20:33:13
合計ジャッジ時間 9,760 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,372 KB
testcase_01 AC 65 ms
71,328 KB
testcase_02 AC 62 ms
71,324 KB
testcase_03 AC 67 ms
71,460 KB
testcase_04 AC 62 ms
71,292 KB
testcase_05 AC 103 ms
78,260 KB
testcase_06 AC 107 ms
78,424 KB
testcase_07 AC 103 ms
78,332 KB
testcase_08 AC 104 ms
78,660 KB
testcase_09 AC 119 ms
79,016 KB
testcase_10 AC 122 ms
78,856 KB
testcase_11 AC 108 ms
78,624 KB
testcase_12 AC 109 ms
78,500 KB
testcase_13 AC 102 ms
78,544 KB
testcase_14 AC 63 ms
71,136 KB
testcase_15 AC 108 ms
78,672 KB
testcase_16 AC 113 ms
78,728 KB
testcase_17 AC 110 ms
78,568 KB
testcase_18 AC 110 ms
78,372 KB
testcase_19 AC 112 ms
78,844 KB
testcase_20 AC 64 ms
71,460 KB
testcase_21 AC 95 ms
78,136 KB
testcase_22 AC 114 ms
77,952 KB
testcase_23 AC 116 ms
78,452 KB
testcase_24 AC 90 ms
76,808 KB
testcase_25 AC 94 ms
77,060 KB
testcase_26 AC 82 ms
75,664 KB
testcase_27 AC 63 ms
71,212 KB
testcase_28 AC 92 ms
78,008 KB
testcase_29 AC 104 ms
78,072 KB
testcase_30 AC 100 ms
78,144 KB
testcase_31 AC 105 ms
78,356 KB
testcase_32 AC 112 ms
78,480 KB
testcase_33 AC 103 ms
78,520 KB
testcase_34 AC 103 ms
78,452 KB
testcase_35 AC 101 ms
78,608 KB
testcase_36 AC 92 ms
77,896 KB
testcase_37 AC 74 ms
75,556 KB
testcase_38 AC 102 ms
78,112 KB
testcase_39 AC 99 ms
78,528 KB
testcase_40 AC 100 ms
78,276 KB
testcase_41 AC 101 ms
78,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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