結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
|
提出日時 | 2017-11-16 02:41:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 452 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-25 04:20:23 |
合計ジャッジ時間 | 1,068 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 11 |
ソースコード
def main():d_no = 0max_point = 0N = int(input())for i in range(N):G, D = map(int, input().split())point = G - 30000 * Dif point > max_point:max_point = pointd_no = i + 1total_point = max_point * 6if total_point >= 30000 * 100:print("YES")for i in range(6):print(d_no)else:print("NO")if __name__ == '__main__':main()