結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
|
提出日時 | 2022-03-02 14:11:45 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 56 ms / 1,000 ms |
コード長 | 283 bytes |
コンパイル時間 | 312 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 61,312 KB |
最終ジャッジ日時 | 2024-07-16 07:13:56 |
合計ジャッジ時間 | 1,774 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 |
ソースコード
N = int(input())S = 3000000_max = 0index = -1for _ in range(N):g,d = map(int,input().split())if g - d * 30000 > _max:_max = g - d * 30000index = _ + 1if _max * 6 >= S:print('YES')for _ in range(6):print(index)else:print('NO')