프로그래머스 181937 n의 배수

1 개요[ | ]

프로그래머스 181937 n의 배수

2 C++[ | ]

#include <string>
#include <vector>

using namespace std;

int solution(int num, int n) {
    int answer = 0;
    if(num%n == 0) answer = 1;
    return answer;
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}