프로그래머스 120807 숫자 비교하기

1 개요[ | ]

프로그래머스 120807 숫자 비교하기

2 C++[ | ]

#include <string>
#include <vector>

using namespace std;

int solution(int num1, int num2) {
    return (num1 == num2) ? 1 : -1;
}

3 같이 보기[ | ]