結果
| 問題 | No.2353 Guardian Dogs in Spring | 
| コンテスト | |
| ユーザー |  meruuu61779999 | 
| 提出日時 | 2023-06-17 00:01:43 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 223 bytes | 
| コンパイル時間 | 385 ms | 
| コンパイル使用メモリ | 82,560 KB | 
| 実行使用メモリ | 78,468 KB | 
| 最終ジャッジ日時 | 2024-06-24 17:11:01 | 
| 合計ジャッジ時間 | 8,780 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 RE * 1 | 
| other | AC * 32 RE * 8 | 
ソースコード
N = int(input())
point = []
for pi in range(1, N + 1):
    x, y = map(int, input().split())
    point.append((x, y, pi))
point.sort()
print(len(point) // 2)
for i in range(0, N, 2):
    print(point[i][2], point[i + 1][2])
            
            
            
        