結果
問題 |
No.485 方程式のお勉強
|
ユーザー |
![]() |
提出日時 | 2017-10-10 00:11:53 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 280 bytes |
コンパイル時間 | 675 ms |
コンパイル使用メモリ | 67,756 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 07:10:48 |
合計ジャッジ時間 | 1,195 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 7 WA * 6 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #define REP(i, a, b) for (int i = int(a); i < int(b); i++) using namespace std; typedef long long int lli; int main() { int A, B; cin >> A >> B; cout << (B % A == 0 ? "YES" : "NO") << endl; return 0; }