Programming/Python & Data Structures
[Baekjoon/Python3/C] 1001번 A-B
HooNeee
2020. 12. 2. 22:17
[Baekjoon/Python3/C] 1001번 A-B
1001번: A-B
두 정수 A와 B를 입력받은 다음, A-B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
[Python3]
A, B = map(int, input().split()) print(A - B)
[C]
#include <stdio.h> int main(void) { int a, b; scanf("%d %d", &a, &b); printf("%d\n", a - b); return 0; }