結果
| 問題 | No.1048 Zero (Advanced) |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-05-08 21:37:00 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 2,000 ms |
| + 999µs | |
| コード長 | 368 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 11,392 KB |
| 最終ジャッジ日時 | 2026-10-19 17:24:56 |
| 合計ジャッジ時間 | 2,073 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge6_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 |
ソースコード
# 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