aboutsummaryrefslogtreecommitdiff
path: root/contests/Round#790/10-10-2022(Div4)/A.py
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-07-24 13:11:33 +0300
committeromagdy7 <omar.professional8777@gmail.com>2023-07-24 13:11:33 +0300
commit6b548332bfc6469756526002971c422f43f86d0a (patch)
tree261fde23f07c3e20cea375030f0c52863b59228c /contests/Round#790/10-10-2022(Div4)/A.py
parentcff8cae22ee9c25d193ff976143813f93e658e55 (diff)
downloadcompetitive-programming-6b548332bfc6469756526002971c422f43f86d0a.tar.xz
competitive-programming-6b548332bfc6469756526002971c422f43f86d0a.zip
Removed some empty *.cpp files and Solved some new problems
Diffstat (limited to 'contests/Round#790/10-10-2022(Div4)/A.py')
-rwxr-xr-xcontests/Round#790/10-10-2022(Div4)/A.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/contests/Round#790/10-10-2022(Div4)/A.py b/contests/Round#790/10-10-2022(Div4)/A.py
deleted file mode 100755
index 29d4847..0000000
--- a/contests/Round#790/10-10-2022(Div4)/A.py
+++ /dev/null
@@ -1,14 +0,0 @@
-tt = int(input())
-for i in range(tt):
- lsum = 0
- rsum = 0
- s = input()
- for i in range(3):
- lsum += int(s[i])
- for i in range(3):
- rsum += int(s[len(s) - 1 - i])
- if rsum == lsum:
- print("YES")
- else:
- print("NO")
-