Silver Library (Archived)
Baekjoon - problem 1001, Python 본문
반응형
Title: A-B
Problem 1001.
Requirement.
3 2
then result should be 1.
Solution
a,b = input().split()
a = int(a)
b = int(b)
print(a-b)
Other guy solved this as follows:
Solution
a, b = input().split()
print(int(a) - int(b))
Note 1.
So, as long as it makes sense. This works.
Note 2.
Well, if basic is unstable then I will be stucked to any process in future. Even this looks easy, who knows I can do this alot better in six months from now on?
'F2. Problem & Solving > Solving' 카테고리의 다른 글
Plan of learning the algorithm (0) | 2021.05.01 |
---|---|
Baekjoon algorithm - 10430 , python (map) (0) | 2021.02.15 |
baekjoon algorithm - 10869 (0) | 2021.02.15 |
Baekjoon algorithm - 1008, python (0) | 2021.02.15 |
[Notion] RDB, RDBMS? (0) | 2020.11.25 |