Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: 1207 Download
 Description: Description of the meaning of the title for the book title contents are subject to change, " set the vehicle arrives uniformly distributed, the parameters specified by the user" to " input data given vehicle arrival time." Input Format The first line contains a positive integer N (1 < = N < = 20000), represents the total number of vehicles. N+1 second line to the first line, each line contains two integers p, q. (0 < = p < = 1,0 < = q < = 100000). p represents a vehicle type, 0 bus, 1 van. q represents the arrival time (in minutes). Output Format The output contains two numbers a, b. The average wait time on behalf of buses and trucks, accurate to three decimal places.
 Downloaders recently: [More information of uploader zan]
 To Search:
File list (Check if you may need any files):
 

1207\1207.cbp
....\1207.depend
....\1207.layout
....\bin\Debug\1207.exe
....\main.cpp
....\obj\Debug\main.o
....\bin\Debug
....\obj\Debug
....\bin
....\obj
1207
    

CodeBus www.codebus.net