結果

問題 No.231 めぐるはめぐる (1)
ユーザー airisairis
提出日時 2015-06-26 22:45:46
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 50 ms
コンパイル使用メモリ 6,700 KB
実行使用メモリ 6,244 KB
最終ジャッジ日時 2023-09-22 00:55:01
合計ジャッジ時間 2,332 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 12 ms
5,980 KB
testcase_02 AC 12 ms
6,092 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 13 ms
6,172 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 11 ms
6,196 KB
testcase_11 AC 12 ms
5,996 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
ls = []

for i in xrange(n):
  g, d = map(int, raw_input().split())
  ls.append([g - 30000 * d, i])
ls.sort(reverse=True)
if ls[0][0] * 6 >= 30000 * 100:
  print "YES"
  for i in xrange(6):
    print ls[0][1]
else:
  print "NO"

0