To run the project you need Scala 2.11.8 and JDK7+ also you need a SBT 13.8 version. To build and run you should inside project folder,type "sbt run" at terminal.
The first line contains an integer N, which is the number of customers. In the next N lines, the ith line contains two space separated numbers Ti and Li. Ti is the time when ith customer order a pizza, and Li is the time required to cook that pizza.
Display the integer part of the minimum average waiting time