fork download
  1. def getMaxThroughput(host_throughput):
  2. sorted_throughput = sorted(host_throughput, reverse=True)
  3. system_throughput = 0
  4.  
  5. for i in range(0, len(sorted_throughput) - 2, 3):
  6. system_throughput += sorted_throughput[i + 1]
  7.  
  8. return system_throughput
  9.  
  10.  
Success #stdin #stdout 0.03s 9564KB
stdin
4
i love hackerrank
hackerrank is an awesome place for programmers
hackerrank
i think hackerrank is a great place to hangout
stdout
Standard output is empty