結果

問題 No.231 めぐるはめぐる (1)
ユーザー RK PythonRK Python
提出日時 2020-06-07 21:41:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 289 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 10,596 KB
実行使用メモリ 8,424 KB
最終ジャッジ日時 2023-08-25 13:34:31
合計ジャッジ時間 2,465 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,872 KB
testcase_02 AC 16 ms
7,840 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 17 ms
7,964 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 15 ms
7,800 KB
testcase_10 AC 15 ms
7,936 KB
testcase_11 AC 15 ms
7,828 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
exps = [[j,[int(i) for i in input().split()]] for j in range(N)]
exps.sort(key = lambda x : x[1][0] - 30000*x[1][1])
best = exps[0]
exp = best[1][0] - 30000*best[1][1]
if exp*6 >= 30000*100:
    print("YES")
    print("\n".join([str(best[0] + 1)]*6))
else:
    print("NO")
0