結果

問題 No.485 方程式のお勉強
ユーザー xxxasdfghjk
提出日時 2018-09-04 19:14:26
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 220 bytes
コンパイル時間 1,403 ms
コンパイル使用メモリ 157,528 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-15 13:20:54
合計ジャッジ時間 2,001 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 7 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(int)(n);i++)
using namespace std;
typedef long long int ll;
int main()
{
  ll A,B;
  cin >> A >> B;
  cout << (abs(B)%abs(A) ? "NO" : "YES") << endl;
  return 0;
}
0