[알고리즘 + 자료구조]/[백준]
[BaekJoon/백준] 1001번
Hevton
2020. 8. 25. 21:29
반응형
1001번은 1000번과 다를 게 없이 그냥 +를 -로 바꿔주면 끝이였다.
그래서 이번엔 그냥 C언어로 풀어봤다.
#include <stdio.h>
int main()
{
int a = 0;
int b = 0;
scanf("%d %d", &a, &b);
printf("%d", a-b);
return 0;
}
결과는 완승.
반응형