結果
| 問題 |
No.166 マス埋めゲーム
|
| コンテスト | |
| ユーザー |
nak2yoshi
|
| 提出日時 | 2016-02-22 19:55:28 |
| 言語 | D (dmd 2.109.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 288 bytes |
| コンパイル時間 | 953 ms |
| コンパイル使用メモリ | 102,016 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-12 02:59:37 |
| 合計ジャッジ時間 | 1,488 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 WA * 10 |
ソースコード
import std.stdio,
std.conv,
std.string,
std.range,
std.math,
std.algorithm;
void main()
{
auto input = readln.split.to!(long[]);
auto H = input[0], W = input[1], N = input[2], K = input[3];
(H * W % (N + 1) == K ? "YES" : "NO").writeln;
}
nak2yoshi