結果

問題 No.750 Frac #1
ユーザー nadarenadare
提出日時 2018-11-09 22:22:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 224 bytes
コンパイル時間 264 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-21 06:13:45
合計ジャッジ時間 2,374 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 4 WA * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
def inpl(): return list(map(int, input().split()))

N = int(input())
R = []
for _ in range(N):
    a, b = inpl()
    R.append([a/b, a, b])
for r, a, b in sorted(R, key=lambda x: x[0]):
    print(a, b)
0