結果
問題 |
No.2353 Guardian Dogs in Spring
|
ユーザー |
|
提出日時 | 2023-06-16 23:26:13 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 265 ms |
コンパイル使用メモリ | 82,332 KB |
実行使用メモリ | 78,444 KB |
最終ジャッジ日時 | 2024-06-24 16:43:02 |
合計ジャッジ時間 | 11,787 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 RE * 1 |
other | WA * 32 RE * 8 |
ソースコード
n = int(input()) P = [list(map(int, input().split())) + [i + 1] for i in range(n)] P.sort(key=lambda x: (x[0], x[1])) for i in range(0, n, 2): print(P[i][2], P[i + 1][2])