From 28518a92f6dc2e5db127188fa17bc90fb4ffc5ea Mon Sep 17 00:00:00 2001 From: Antonio Gadelha Date: Sun, 2 Oct 2022 02:38:11 -0300 Subject: [PATCH] Adding AGELIMIT in Python - START42 --- Contests/Age Limit - AGELIMIT/AGELIMIT.py | 11 +++++++++++ Contests/Age Limit - AGELIMIT/README.md | 1 + 2 files changed, 12 insertions(+) create mode 100644 Contests/Age Limit - AGELIMIT/AGELIMIT.py create mode 100644 Contests/Age Limit - AGELIMIT/README.md diff --git a/Contests/Age Limit - AGELIMIT/AGELIMIT.py b/Contests/Age Limit - AGELIMIT/AGELIMIT.py new file mode 100644 index 00000000..d7cb3ff9 --- /dev/null +++ b/Contests/Age Limit - AGELIMIT/AGELIMIT.py @@ -0,0 +1,11 @@ +#Read the number of test cases. +T = int(input()) +for tc in range(T): + # Read integers X, Y and A. + (x, y, a) = map(int, input().split(' ')) + if(a=y): + print('NO') + else: + print('YES') \ No newline at end of file diff --git a/Contests/Age Limit - AGELIMIT/README.md b/Contests/Age Limit - AGELIMIT/README.md new file mode 100644 index 00000000..488d8d7e --- /dev/null +++ b/Contests/Age Limit - AGELIMIT/README.md @@ -0,0 +1 @@ +# [Age Limit - START42](https://www.codechef.com/submit/AGELIMIT) \ No newline at end of file