結果
問題 |
No.384 マス埋めゲーム2
|
ユーザー |
![]() |
提出日時 | 2025-05-16 15:39:27 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 3,926 ms |
コンパイル使用メモリ | 171,224 KB |
実行使用メモリ | 16,064 KB |
最終ジャッジ日時 | 2025-05-16 15:39:36 |
合計ジャッジ時間 | 7,372 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 1 WA * 11 OLE * 1 -- * 9 |
ソースコード
#include <bits/stdc++.h> #define int long long using namespace std; int t,h,w,n,k; signed main () { cin>>t; while(t--){ cin>>h>>w>>n>>k; if ((h+w)%n==k%n) cout<<"NO\n"; else cout<<"YES\n"; } return 0; }