webturing %!s(int64=4) %!d(string=hai) anos
pai
achega
b1365712e6
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      G.py

+ 10 - 0
G.py

@@ -0,0 +1,10 @@
+while True:
+    a,b,c=map(int,input().strip().split())
+    flag=False
+    for i in range(10,101):
+        if i%3==a and i%5==b and i%7==c:
+            print(i)
+            flag=True
+            break
+    if not flag:
+        print('No answer')