Skip to content

Commit

Permalink
Merge pull request hackerearthclub#236 from swapnil085/master
Browse files Browse the repository at this point in the history
Maximum bottles that can be filled(100%)
  • Loading branch information
TANIYA GUPTA authored Oct 19, 2018
2 parents d7eeca0 + c91b38e commit 301e509
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions SOLUTIONS/max.py
Original file line number Diff line number Diff line change
@@ -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])

0 comments on commit 301e509

Please sign in to comment.