結果
| 問題 | No.166 マス埋めゲーム |
| コンテスト | |
| ユーザー |
appren
|
| 提出日時 | 2019-07-12 13:15:22 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 894 ms |
| コンパイル使用メモリ | 173,352 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-12 08:26:44 |
| 合計ジャッジ時間 | 1,821 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
appren