結果
問題 | No.2353 Guardian Dogs in Spring |
ユーザー |
![]() |
提出日時 | 2023-06-16 22:22:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 108 ms / 2,000 ms |
コード長 | 169 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,104 KB |
実行使用メモリ | 77,836 KB |
最終ジャッジ日時 | 2024-06-24 14:55:55 |
合計ジャッジ時間 | 8,421 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 40 |
ソースコード
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])