From d0476674e924ec38759851b886b68678bf56f61a Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Fri, 1 Sep 2023 19:01:54 +0800
Subject: [PATCH] auto save

---
 Untitled-1.py.py | 11 +++++++++++
 Untitled-1u.py   |  7 +++++++
 Untitled-5.py.py | 16 ++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 100644 Untitled-1.py.py
 create mode 100644 Untitled-1u.py
 create mode 100644 Untitled-5.py.py

diff --git a/Untitled-1.py.py b/Untitled-1.py.py
new file mode 100644
index 0000000..b66b200
--- /dev/null
+++ b/Untitled-1.py.py
@@ -0,0 +1,11 @@
+m = int(input("请输入药品总数"))
+n = int(input("请输入取药人数"))
+a = input("请输入取药量")
+a = a.split(" ")
+num = 0
+for i in range(n):
+    if int(a[i])>m:
+        num = num+1
+    else:
+        m=m-int(a[i])
+print(num)
\ No newline at end of file
diff --git a/Untitled-1u.py b/Untitled-1u.py
new file mode 100644
index 0000000..73d1e89
--- /dev/null
+++ b/Untitled-1u.py
@@ -0,0 +1,7 @@
+for i in range(100,1000):
+    su = True
+    for j in range(2,i):
+        if i % j == 0:
+            su = False
+    if i%10 == i//100 and su:
+        print(i)
\ No newline at end of file
diff --git a/Untitled-5.py.py b/Untitled-5.py.py
new file mode 100644
index 0000000..769f712
--- /dev/null
+++ b/Untitled-5.py.py
@@ -0,0 +1,16 @@
+n = int(input("请输入组数"))
+x = input("请输入鸡尾酒疗法总病例数以及有效病例数")
+x = x.split(",")
+x1 = int(x[1])/int(x[0])
+print(x)
+
+for i in range(n-1):
+    y = input("请输入改进疗法总病例数以及有效病例数")
+    y = y.split(",")
+    y1 = int(y[1])/int(y[0])
+    if  y1-x1 > 0.05:
+        print("better")
+    elif (x1-y1 > 0.05):
+        print("worse")
+    else :
+        print("same")
--
libgit2 0.25.0