結果

問題 No.882 約数倍数
ユーザー dn6049949dn6049949
提出日時 2019-09-13 21:21:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 995 bytes
コンパイル時間 265 ms
コンパイル使用メモリ 87,348 KB
実行使用メモリ 73,540 KB
最終ジャッジ日時 2023-09-17 06:52:08
合計ジャッジ時間 2,697 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
73,360 KB
testcase_01 AC 111 ms
73,056 KB
testcase_02 AC 109 ms
73,284 KB
testcase_03 AC 111 ms
73,284 KB
testcase_04 AC 110 ms
73,540 KB
testcase_05 AC 109 ms
73,400 KB
testcase_06 AC 112 ms
73,280 KB
testcase_07 WA -
testcase_08 AC 110 ms
73,260 KB
testcase_09 AC 109 ms
73,408 KB
testcase_10 AC 110 ms
72,932 KB
testcase_11 AC 108 ms
73,528 KB
testcase_12 AC 109 ms
73,256 KB
testcase_13 AC 112 ms
73,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007

#A
def A():
    a,b = LI()
    for i in range(1,100):
        if a%i == 0 and i%b == 0:
            print("YES")
            return
    print("NO")
    return

#B
def B():

    return

#C
def C():

    return

#D
def D():

    return

#E
def E():

    return

#F
def F():

    return

#Solve
if __name__ == "__main__":
    A()
0