結果

問題 No.882 約数倍数
ユーザー roarisroaris
提出日時 2019-09-18 09:26:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 85 ms / 500 ms
コード長 144 bytes
コンパイル時間 414 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 71,212 KB
最終ジャッジ日時 2023-09-22 03:09:57
合計ジャッジ時間 3,112 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
70,984 KB
testcase_01 AC 81 ms
71,164 KB
testcase_02 AC 85 ms
71,028 KB
testcase_03 AC 79 ms
71,212 KB
testcase_04 AC 82 ms
71,124 KB
testcase_05 AC 83 ms
71,100 KB
testcase_06 AC 81 ms
71,140 KB
testcase_07 AC 82 ms
71,100 KB
testcase_08 AC 78 ms
71,180 KB
testcase_09 AC 80 ms
71,176 KB
testcase_10 AC 79 ms
71,180 KB
testcase_11 AC 79 ms
70,896 KB
testcase_12 AC 83 ms
71,000 KB
testcase_13 AC 81 ms
71,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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