結果
| 問題 | No.485 方程式のお勉強 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-02 19:18:12 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 544µs | |
| コード長 | 338 bytes |
| 記録 | |
| コンパイル時間 | 445 ms |
| コンパイル使用メモリ | 105,796 KB |
| 実行使用メモリ | 9,776 KB |
| 最終ジャッジ日時 | 2026-08-23 02:00:34 |
| 合計ジャッジ時間 | 2,346 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 13 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <cmath>
#include <climits>
#include <iomanip>
#include <set>
#include <map>
using namespace std;
typedef long long ll;
int main(){
ll a,b;
cin >> a >> b;
if(b % a == 0)cout << b / a << endl;
else cout << "NO" << endl;
}