結果

問題 No.485 方程式のお勉強
ユーザー Series_205
提出日時 2019-10-24 19:47:20
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 803 ms
コンパイル使用メモリ 65,996 KB
最終ジャッジ日時 2025-01-08 00:53:21
ジャッジサーバーID
(参考情報)
judge4 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int x,y;
int main(){
    cin>>x>>y;
    if(y%x==0)cout<<y/x<<endl;
    else cout<<"NO\n";
    return 0;
}
0