結果
問題 |
No.485 方程式のお勉強
|
ユーザー |
![]() |
提出日時 | 2020-01-18 17:17:09 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 351 bytes |
コンパイル時間 | 2,019 ms |
コンパイル使用メモリ | 192,172 KB |
最終ジャッジ日時 | 2025-01-08 20:04:55 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) #define DEBUG int main() { int a, b; cin >> a >> b; if (b % a) cout << "NO" << endl; else cout << b/a << endl; return 0; }