結果

問題 No.2353 Guardian Dogs in Spring
ユーザー ニックネームニックネーム
提出日時 2023-06-16 23:06:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 1,401 ms
コンパイル使用メモリ 10,504 KB
実行使用メモリ 9,700 KB
最終ジャッジ日時 2023-09-06 21:57:25
合計ジャッジ時間 7,873 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,884 KB
testcase_01 AC 16 ms
7,780 KB
testcase_02 AC 15 ms
7,788 KB
testcase_03 AC 16 ms
7,732 KB
testcase_04 AC 16 ms
7,764 KB
testcase_05 AC 41 ms
9,300 KB
testcase_06 AC 42 ms
9,248 KB
testcase_07 AC 42 ms
9,608 KB
testcase_08 AC 42 ms
9,700 KB
testcase_09 AC 41 ms
9,404 KB
testcase_10 AC 43 ms
9,552 KB
testcase_11 AC 44 ms
9,544 KB
testcase_12 AC 45 ms
9,540 KB
testcase_13 AC 42 ms
9,524 KB
testcase_14 AC 16 ms
7,764 KB
testcase_15 AC 46 ms
9,540 KB
testcase_16 AC 44 ms
9,596 KB
testcase_17 AC 45 ms
9,652 KB
testcase_18 AC 45 ms
9,548 KB
testcase_19 AC 46 ms
9,552 KB
testcase_20 AC 16 ms
7,928 KB
testcase_21 AC 20 ms
8,316 KB
testcase_22 AC 28 ms
8,784 KB
testcase_23 AC 42 ms
9,528 KB
testcase_24 AC 21 ms
8,172 KB
testcase_25 AC 20 ms
8,208 KB
testcase_26 AC 19 ms
8,208 KB
testcase_27 AC 16 ms
7,872 KB
testcase_28 AC 22 ms
8,584 KB
testcase_29 AC 35 ms
9,036 KB
testcase_30 AC 29 ms
8,760 KB
testcase_31 AC 32 ms
8,968 KB
testcase_32 AC 42 ms
9,428 KB
testcase_33 AC 41 ms
9,508 KB
testcase_34 AC 45 ms
9,596 KB
testcase_35 AC 43 ms
9,536 KB
testcase_36 AC 22 ms
8,580 KB
testcase_37 AC 18 ms
8,224 KB
testcase_38 AC 25 ms
8,468 KB
testcase_39 AC 25 ms
8,580 KB
testcase_40 AC 31 ms
8,864 KB
testcase_41 AC 33 ms
9,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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