結果
| 問題 | No.1048 Zero (Advanced) |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-05-08 21:37:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 368 bytes |
| 記録 | |
| コンパイル時間 | 366 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-03-25 08:04:09 |
| 合計ジャッジ時間 | 2,881 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 15 |
ソースコード
# coding: utf-8
# Your code here!
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
l,r,m,k = [int(i) for i in read().split()]
def check(a,b,m): # [a,b]に m の倍数?
if a%m == 0: return True
if b//m != a//m: return True
return False
if check(l*k,r*k,m):
print("Yes")
else:
print("No")
convexineq