結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
![]() |
提出日時 | 2018-02-04 19:31:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 76 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-30 04:01:10 |
合計ジャッジ時間 | 1,045 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 |
ソースコード
n = int(input())re = 30000 * 100pair = []ef = 0index = 0for i in range(n):ex, d = map(int, input().split())if ex - 30000*d > ef:ef = ex - 30000*dindex = i+1if ef * 6 >= re:print('YES')for i in range(6):print(index)else:print('NO')