Search posts...
class Solution { public int solution(int num, int n) { if (num % n == 0) { return 1; // num이 n의 배수일 때 } else { return 0; // num이 n의 배수가 아닐 때 } } }
gunwoo