알고리즘

[알고리즘] 백준 31450 - Everyone is a winner (C++)

blueberrysoda 2025. 5. 12. 22:09

[문제 링크] : https://www.acmicpc.net/problem/31450

#include <iostream>
using namespace std;

int main(){
    int N, M;
    cin >> N >> M;

    if(N % M == 0){
        cout << "Yes\n";
    }
    else{
        cout << "No\n";
    }

    return 0;
}