Algorithm/BaekJoon

(C++/Python) 백준 1001번 - A-B

HappyFrog 2022. 7. 8. 16:23


 

 

 

 

 

 

Python


A, B = map(int, input().split())

print(A-B)

 

 

 

 

C++


#include <iostream>

using namespace std;

int main() {
	int A;
	int B;
	cin >> A, cin >> B;
	cout << A - B;
}