結果
問題 | No.882 約数倍数 |
ユーザー | kpinkcat |
提出日時 | 2023-08-22 16:57:51 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 500 ms |
コード長 | 262 bytes |
コンパイル時間 | 1,004 ms |
コンパイル使用メモリ | 102,080 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-17 17:20:42 |
合計ジャッジ時間 | 1,714 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 10 |
ソースコード
#include<iostream> #include<map> #include<vector> #include <algorithm> #include<math.h> #include <iomanip> #include<set> #include <numeric> using namespace std; int main() { long long a, b; cin >> a >> b; cout << (!(a%b) ? "YES" : "NO") << endl; }