Help a PhD candidate out!
This commit is contained in:
6
helpaphd.py
Normal file
6
helpaphd.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
for _ in range(int(input())):
|
||||||
|
testcase = input()
|
||||||
|
if testcase == "P=NP":
|
||||||
|
print("skipped")
|
||||||
|
else:
|
||||||
|
print(sum(map(int, testcase.split("+"))))
|
||||||
Reference in New Issue
Block a user