結果

問題 No.485 方程式のお勉強
ユーザー focusfocus
提出日時 2018-01-15 21:50:09
言語 C++11
(gcc 11.4.0)
結果
RE  
実行時間 -
コード長 244 bytes
コンパイル時間 462 ms
コンパイル使用メモリ 57,108 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-25 17:55:52
合計ジャッジ時間 1,961 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 1 ms
4,380 KB
testcase_04 WA -
testcase_05 RE -
testcase_06 RE -
testcase_07 WA -
testcase_08 AC 2 ms
4,380 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 RE -
testcase_13 AC 1 ms
4,380 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 2 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<string>
#include<cstdio>
using namespace std;
int main(){
    int A,B,C;
    cin >> A >> B;
    C = B/A;
    if(B/C==0){
        cout << C;
    }
    else{
        cout << "NO";
    }
    return 0;
}
0