結果

問題 No.485 方程式のお勉強
ユーザー kjnhokjnho
提出日時 2017-02-24 22:22:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 257 bytes
コンパイル時間 960 ms
コンパイル使用メモリ 10,564 KB
実行使用メモリ 7,960 KB
最終ジャッジ日時 2023-08-30 23:17:52
合計ジャッジ時間 1,228 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

def main():
    A, B = map(int, input().split())
    amari = A%B
    if amari == 0:
        print(int(A//B))
    else:
        print("NO")

if __name__ == "__main__":  # {{{
    try:
        import test
        test.test()
    except:
        main()  # }}}
0