結果

問題 No.1048 Zero (Advanced)
ユーザー ddnneddnne
提出日時 2020-05-08 22:20:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 232 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 8,288 KB
最終ジャッジ日時 2023-09-17 03:04:37
合計ジャッジ時間 1,304 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,164 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 AC 16 ms
8,076 KB
testcase_04 RE -
testcase_05 AC 16 ms
8,168 KB
testcase_06 RE -
testcase_07 AC 16 ms
8,080 KB
testcase_08 RE -
testcase_09 AC 16 ms
8,080 KB
testcase_10 AC 16 ms
8,160 KB
testcase_11 RE -
testcase_12 AC 16 ms
8,164 KB
testcase_13 RE -
testcase_14 AC 16 ms
8,140 KB
testcase_15 RE -
testcase_16 RE -
testcase_17 AC 15 ms
8,224 KB
testcase_18 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.py:5: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
  if math.floor(R * K / M) - math.floor(L * K /M) >= 1 or R == 0 or L == 0 (R == L and (R * K) % M == 0) or K == 0:

ソースコード

diff #

L, R, M, K = list(map(int, input().split()))

import math
# if L*K <= M <= R*K:
if math.floor(R * K / M) - math.floor(L * K /M) >= 1 or R == 0 or L == 0 (R == L and (R * K) % M == 0) or K == 0:
    print('Yes')
else:
    print('No')
0