結果

問題 No.384 マス埋めゲーム2
ユーザー tanimani364tanimani364
提出日時 2021-03-29 14:52:51
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 334 bytes
コンパイル時間 2,133 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 81,376 KB
最終ジャッジ日時 2023-08-19 16:10:17
合計ジャッジ時間 6,610 ms
ジャッジサーバーID
(参考情報)
judge10 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 167 ms
80,952 KB
testcase_02 AC 167 ms
80,860 KB
testcase_03 AC 171 ms
80,944 KB
testcase_04 AC 170 ms
80,672 KB
testcase_05 AC 173 ms
80,876 KB
testcase_06 AC 169 ms
80,792 KB
testcase_07 AC 167 ms
81,132 KB
testcase_08 AC 164 ms
80,888 KB
testcase_09 AC 165 ms
80,804 KB
testcase_10 AC 167 ms
80,988 KB
testcase_11 AC 166 ms
81,124 KB
testcase_12 AC 165 ms
80,660 KB
testcase_13 AC 163 ms
81,176 KB
testcase_14 AC 163 ms
81,120 KB
testcase_15 AC 165 ms
80,900 KB
testcase_16 AC 165 ms
80,828 KB
testcase_17 AC 165 ms
80,980 KB
testcase_18 AC 167 ms
80,712 KB
testcase_19 AC 165 ms
81,248 KB
testcase_20 WA -
testcase_21 AC 164 ms
80,808 KB
testcase_22 AC 164 ms
80,840 KB
testcase_23 AC 165 ms
81,008 KB
testcase_24 AC 161 ms
80,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
#coding:utf-8

import math
import string
import random
from sys import stdin
# import numpy as np
# from matplotlib import pyplot as plt
	

def main():
	read=stdin.readline

	#edit here!
	h,w,n,k=map(int,read().split())
	if (h+w-1)%n==k:
		print("YES")
	else:
		print("NO")


if __name__ == '__main__':
	main()
0