I solved this problem. But it takes ~ 4sec.... How can someone solve this in 0.080? Some type of linear sorting?
I did it using qsort.
Thanks. John.
![8)](./images/smilies/icon_cool.gif)
Moderator: Board moderators
You know that no individual in that country lives for 100 or more years.
And fast input/output.SeregiB wrote:Hello!
Perhaps may help to you this sentence:You know that no individual in that country lives for 100 or more years.
Code: Select all
removed after AC
Hello oliveralderete
I think u r wrong
Because i solve this problem with sorting
it took 0.462 & position 17
u have to use fast input/output & faster sort