結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー | roiti46 |
提出日時 | 2015-06-26 22:27:00 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 345 ms |
コンパイル使用メモリ | 6,596 KB |
実行使用メモリ | 6,320 KB |
最終ジャッジ日時 | 2023-09-22 00:48:58 |
合計ジャッジ時間 | 2,646 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 13 ms
6,024 KB |
testcase_02 | AC | 12 ms
5,936 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 13 ms
5,960 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 11 ms
5,860 KB |
testcase_11 | AC | 11 ms
5,860 KB |
testcase_12 | WA | - |
ソースコード
N = int(raw_input()) exp = 3000000 GD = [map(int, raw_input().split()) + [i] for i in xrange(N)] G = sorted([[g - exp / 100 * d, i] for g, d, i in GD], reverse = True) if 6 * max(G)[0] >= exp: print "YES" for i in xrange(6): print max(G)[1] else: print "NO"