Skip to content

Instantly share code, notes, and snippets.

@monhime
Created September 26, 2020 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monhime/eccbff08f2ebafea7729529efc204333 to your computer and use it in GitHub Desktop.
Save monhime/eccbff08f2ebafea7729529efc204333 to your computer and use it in GitHub Desktop.
ALCBC B問題解答
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
a, b, c, d = map(int,input().split())
if max(a, c) <= min(b,d):
print("Yes")
else:
print("No")
if __name__=='__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment