We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Yes, that's a good point, but it's a different problem. If A or B had maxes of 10^12, the runtimes would remain the same since there is an upper limit.
Beautiful Pairs
You are viewing a single comment's thread. Return to all comments →
Yes, that's a good point, but it's a different problem. If A or B had maxes of 10^12, the runtimes would remain the same since there is an upper limit.
HackerRank solutions.