From c91b38e1d951f1a6cc236998641faca9b57b398c Mon Sep 17 00:00:00 2001 From: Swapnil Buchke Date: Fri, 19 Oct 2018 16:08:36 +0530 Subject: [PATCH] Maximum bottles that can be filled(100%) --- SOLUTIONS/max.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 SOLUTIONS/max.py diff --git a/SOLUTIONS/max.py b/SOLUTIONS/max.py new file mode 100644 index 00000000..91fcba7a --- /dev/null +++ b/SOLUTIONS/max.py @@ -0,0 +1,11 @@ +t = int(input()) +ans = [] +for i in range(t): + n = int(input()) + l = list(map(int,input().split())) + sum = sum(l) + m = int(sum/100) + ans.append(m) + +for i in range(len(ans)): + print (ans[i])