結果

問題 No.485 方程式のお勉強
ユーザー 👑 yumechiyumechi
提出日時 2017-02-24 23:25:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 1,251 ms
コンパイル使用メモリ 82,848 KB
実行使用メモリ 53,820 KB
最終ジャッジ日時 2024-04-14 22:52:44
合計ジャッジ時間 1,943 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,008 KB
testcase_01 AC 38 ms
53,088 KB
testcase_02 AC 37 ms
53,016 KB
testcase_03 AC 39 ms
52,412 KB
testcase_04 AC 37 ms
52,780 KB
testcase_05 AC 37 ms
53,820 KB
testcase_06 AC 37 ms
52,548 KB
testcase_07 AC 37 ms
52,748 KB
testcase_08 AC 37 ms
53,476 KB
testcase_09 AC 38 ms
52,436 KB
testcase_10 AC 37 ms
52,744 KB
testcase_11 AC 38 ms
52,804 KB
testcase_12 AC 37 ms
52,004 KB
testcase_13 AC 38 ms
52,732 KB
testcase_14 AC 36 ms
53,352 KB
testcase_15 AC 36 ms
52,996 KB
testcase_16 AC 37 ms
52,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

def solve():
	a, b = map(int, input().split())
	c = b / a
	print("NO" if c != math.ceil(c) else int(c))

if __name__=="__main__":
    solve()
0