結果
| 問題 | No.231 めぐるはめぐる (1) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-02-26 14:11:12 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 15 ms / 1,000 ms | 
| コード長 | 234 bytes | 
| コンパイル時間 | 450 ms | 
| コンパイル使用メモリ | 6,912 KB | 
| 実行使用メモリ | 6,400 KB | 
| 最終ジャッジ日時 | 2024-06-11 16:36:10 | 
| 合計ジャッジ時間 | 1,113 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 11 | 
ソースコード
#yuki_231 l=[] n=int(raw_input()) for i in xrange(n): g,d=map(int,raw_input().split()) l.append([g-30000*d,i]) l=sorted(l,reverse=True) if l[0][0]*6>=30000*100: print 'YES' for i in xrange(6): print l[0][1]+1 else: print 'NO'
