본문 바로가기
C++

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

by 띰쥬 2025. 8. 29.
728x90
반응형
SMALL

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>

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

728x90
반응형
LIST

댓글