結果
問題 |
No.384 マス埋めゲーム2
|
ユーザー |
![]() |
提出日時 | 2025-05-16 15:22:20 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 180 bytes |
コンパイル時間 | 2,869 ms |
コンパイル使用メモリ | 275,524 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-05-16 15:22:24 |
合計ジャッジ時間 | 3,850 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 WA * 2 |
ソースコード
#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-1)+(w-1)+1)%n==k)]; }