結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
![]() |
提出日時 | 2015-10-13 20:34:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 35 ms / 1,000 ms |
コード長 | 258 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-08 00:01:02 |
合計ジャッジ時間 | 1,217 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 |
ソースコード
N = int(input()) s, si = 0, -1 for i in range(N): a, b = map(int, input().split()) ss = a - 30000 * b if ss > s: s = ss si = i if s * 6 >= 30000 * 100: print('YES') print('\n'.join([str(si + 1)] * 6)) else: print('NO')