結果
問題 |
No.166 マス埋めゲーム
|
ユーザー |
![]() |
提出日時 | 2019-07-12 13:15:22 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 1,310 ms |
コンパイル使用メモリ | 157,532 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 10:33:36 |
合計ジャッジ時間 | 2,056 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 9 WA * 11 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; a*=b; int c; cin>>c; c=a%c; int d; cin>>d; if(c+d==d) cout<<"YES"<<endl; else cout<<"NO"<<endl; }