結果
問題 | No.485 方程式のお勉強 |
ユーザー |
|
提出日時 | 2024-03-27 14:11:03 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 230 bytes |
コンパイル時間 | 1,970 ms |
コンパイル使用メモリ | 191,908 KB |
最終ジャッジ日時 | 2025-02-20 14:02:15 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef int64_t lint; int main() { lint a,b;cin>>a>>b; if(!a||b%a!=0){ cout<<"NO"<<endl; }else{ cout<<b/a<<endl; } // system("pause"); }