1 해설

  • 0
    @ 2024-12-24 9:59:28

    C++ :

    #include <stdio.h>
    int main(){
        int T;
        scanf("%d",&T);
        while(T--){
            int a,b;
            scanf("%d%d",&a,&b);
            if(a%(b+1)==0)  printf("yes\n");
            else printf("no\n");
        }
        return 0;
    }
    
    
    • 1

    정보

    ID
    1540
    시간
    1000ms
    메모리
    128MiB
    난이도
    (N/A)
    태그
    (N/A)
    제출 기록
    0
    맞았습니다.
    0
    아이디