結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
![]() |
提出日時 | 2017-12-12 01:46:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 357 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-30 21:17:06 |
合計ジャッジ時間 | 3,422 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 3 WA * 8 |
ソースコード
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')print(index)else:print('NO')