문제링크 - 프로그래머스 - 나머지 구하기
class Solution { public int solution(int num1, int num2) { int answer = (num1 == num2)? 1:-1 ; return answer; } }