結果

問題 No.2353 Guardian Dogs in Spring
ユーザー ああいいああいい
提出日時 2023-06-17 14:37:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 207 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 86,728 KB
実行使用メモリ 79,308 KB
最終ジャッジ日時 2023-09-07 11:02:23
合計ジャッジ時間 11,032 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,412 KB
testcase_01 AC 75 ms
71,020 KB
testcase_02 AC 75 ms
71,276 KB
testcase_03 AC 77 ms
71,412 KB
testcase_04 AC 76 ms
71,248 KB
testcase_05 AC 127 ms
78,332 KB
testcase_06 AC 128 ms
78,248 KB
testcase_07 AC 126 ms
78,448 KB
testcase_08 AC 126 ms
78,472 KB
testcase_09 AC 154 ms
79,308 KB
testcase_10 AC 156 ms
78,776 KB
testcase_11 AC 133 ms
78,460 KB
testcase_12 AC 136 ms
78,452 KB
testcase_13 AC 128 ms
78,444 KB
testcase_14 AC 76 ms
71,252 KB
testcase_15 AC 135 ms
78,476 KB
testcase_16 AC 136 ms
78,320 KB
testcase_17 AC 137 ms
78,444 KB
testcase_18 AC 135 ms
78,256 KB
testcase_19 AC 137 ms
78,528 KB
testcase_20 AC 77 ms
71,364 KB
testcase_21 AC 111 ms
77,984 KB
testcase_22 AC 124 ms
77,856 KB
testcase_23 AC 135 ms
78,304 KB
testcase_24 AC 107 ms
76,660 KB
testcase_25 AC 107 ms
76,796 KB
testcase_26 AC 94 ms
75,360 KB
testcase_27 AC 78 ms
71,272 KB
testcase_28 AC 116 ms
78,028 KB
testcase_29 AC 131 ms
77,900 KB
testcase_30 AC 127 ms
77,992 KB
testcase_31 AC 129 ms
78,076 KB
testcase_32 AC 137 ms
78,252 KB
testcase_33 AC 128 ms
78,444 KB
testcase_34 AC 130 ms
78,300 KB
testcase_35 AC 130 ms
78,412 KB
testcase_36 AC 114 ms
77,808 KB
testcase_37 AC 91 ms
75,424 KB
testcase_38 AC 120 ms
77,856 KB
testcase_39 AC 120 ms
77,900 KB
testcase_40 AC 124 ms
78,244 KB
testcase_41 AC 126 ms
77,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
inu = []
for i in range(N):
	x,y = map(int,input().split())
	inu.append((x,y,i + 1))
	
inu.sort()
print(N // 2)
for _ in range(N // 2):
	x,y,i = inu.pop()
	xx,yy,ii = inu.pop()
	print(i,ii)
0