- 3

Programming challenge description:

Programming challenge description: Given a file size in mebibytes (MiB) and a network connection speed in Megabits per second (Mb/s), write a program to calculate the estimated time to transfer the file over that network. Assume that all network capacity is used for file data transfer, there is no overhead, loss, congestion, or contention. Input: Two space-delimited positive integers: 1. File size in MiB 2. Network speed in Mb/s For example: 400 10 Output: Print an integer representing the number of seconds required to transfer the file over the network. Round the calculated value up to the smallest integer that is not less than the result. For the example above, the output would be: 336

31st Oct 2020, 6:55 AM
chaithanya L
chaithanya L - avatar
1 ответ
0
You are the one who has to think, it's a challenge
31st Oct 2020, 10:44 AM
Martín Stanicio