結果
| 問題 |
No.1048 Zero (Advanced)
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-05-08 21:37:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 2,000 ms |
| コード長 | 368 bytes |
| コンパイル時間 | 164 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-04 00:09:10 |
| 合計ジャッジ時間 | 1,372 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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