코딩테스트/프로그래머스 - LV 0
[프로그래머스] n의 배수
웅드
2024. 1. 23. 14:33
- 풀이
#include <string>
#include <vector>
using namespace std;
int solution(int num, int n) {
return num % n == 0 ? 1 : 0;
}
반응형