+ 1

Explain me the question because I don't understand it?I don't know how to calculate the time required?Don't post the answer

You have to get a new driver's license and you show up at the office at the same time as 4 other people. The office says that they will see everyone in alphabetical order and it takes 20 minutes for them to process each new license. All of the agents are available now, and they can each see one customer at a time. How long will it take for you to walk out of the office with your new license? Task Given everyone's name that showed up at the same time, determine how long it will take to get your new license. Input Format Your input will be a string of your name, then an integer of the number of available agents, and lastly a string of the other four names separated by spaces. Output Format You will output an integer of the number of minutes that it will take to get your license. Sample Input 'Eric' 2 'Adam Caroline Rebecca Frank' Sample Output 40

19th Jul 2021, 2:24 PM
Shahir
Shahir - avatar
5 odpowiedzi
+ 2
Shaik.Shahir , as i can see, you have the complete task description. if you did not understand something exactly, please describe your doubts in more detail. thanks!
19th Jul 2021, 2:46 PM
Lothar
Lothar - avatar
+ 2
Thanks I got it!
19th Jul 2021, 2:50 PM
Shahir
Shahir - avatar
0
I don't how calculate the time that will take to get the licence
19th Jul 2021, 2:48 PM
Shahir
Shahir - avatar