結果
問題 |
No.384 マス埋めゲーム2
|
ユーザー |
![]() |
提出日時 | 2025-05-16 15:34:31 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 174 bytes |
コンパイル時間 | 2,649 ms |
コンパイル使用メモリ | 275,532 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-05-16 15:34:35 |
合計ジャッジ時間 | 3,928 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 6 WA * 16 |
ソースコード
#include<bits/stdc++.h> using namespace std; typedef long long ll; ll T,h,w,n,k; string ans[]={"NO\n","YES\n"}; int main(){ cin>>h>>w>>n>>k; cout<<ans[(h+w-2)%(n+1)==k]; }