Algorithms and Data Structures/Coding Practices

Kattis What is greater?

brightlightkim 2022. 7. 15. 12:10

Given two positive integers, determine whether the first one is larger than the second one.

Input

The single line of input contains two positive integers, a and b (0<a,b≤109).

Output

Output a single line with 1 if a>b, 0 otherwise.

 

'Algorithms and Data Structures > Coding Practices' 카테고리의 다른 글

AlgoExpert BinarySearch  (0) 2022.07.15
LeetCode 121. Best Time to Buy and Sell Stock  (0) 2022.07.15
Kattis Quadrant Selection  (0) 2022.07.15
LeetCode LinkedList Cycle II  (0) 2022.07.15
AlgoExpert Product Sum  (0) 2022.07.15