結果

問題 No.882 約数倍数
ユーザー numberfromnumberfrom
提出日時 2019-09-13 21:47:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 149 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 8,200 KB
最終ジャッジ日時 2023-09-17 07:05:52
合計ジャッジ時間 1,074 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 15 ms
8,076 KB
testcase_03 WA -
testcase_04 AC 15 ms
8,100 KB
testcase_05 WA -
testcase_06 AC 15 ms
8,060 KB
testcase_07 AC 15 ms
8,168 KB
testcase_08 WA -
testcase_09 AC 15 ms
8,200 KB
testcase_10 AC 15 ms
8,044 KB
testcase_11 WA -
testcase_12 AC 15 ms
8,116 KB
testcase_13 AC 15 ms
8,188 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())

for i in range(1, 101):
    if A % i == 0 and i % B == 0:
        print("YES")
        exit()
print(i)
print("NO")
0