結果
| 問題 | No.384 マス埋めゲーム2 |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-05-16 15:56:45 |
| 言語 | C++17(clang) (clang++ 22.1.2 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 257 bytes |
| 記録 | |
| コンパイル時間 | 1,295 ms |
| コンパイル使用メモリ | 169,608 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-10 17:36:18 |
| 合計ジャッジ時間 | 2,833 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
#define int long long
using namespace std;
int t,h,w,n,k;
signed main ()
{
//freopen("game.in","r",stdin);
//freopen("game.out","w",stdout);
cin>>h>>w>>n>>k;
if ((h+w-2)%n+1==k) cout<<"YES\n";
else cout<<"NO\n";
return 0;
}
vjudge1