結果
| 問題 | 
                            No.231 めぐるはめぐる (1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             john_doe_113
                         | 
                    
| 提出日時 | 2015-06-28 09:56:03 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 15 ms / 1,000 ms | 
| コード長 | 155 bytes | 
| コンパイル時間 | 59 ms | 
| コンパイル使用メモリ | 7,040 KB | 
| 実行使用メモリ | 6,528 KB | 
| 最終ジャッジ日時 | 2024-11-07 23:36:57 | 
| 合計ジャッジ時間 | 989 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 11 | 
ソースコード
l=[j[0]-j[1]*30000>=500000 for j in [map(int,raw_input().split()) for i in range(input())]]
print"YES"+("\n"+str(l.index(True)+1))*6 if True in l else"NO"
            
            
            
        
            
john_doe_113