ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1021
. Sacrament of the Sum
got AC in java..Hint for Java Programmers for "Time Limit Exceeded"
Posted by
Moein Fatehi
13 Oct 2011 18:46
since the lists are been sorted, you can use Arrays.binarySearch to find the answer of second array in the first list.
Edited by author 13.10.2011 18:46
© 2000–2024
Timus Online Judge Team
. All rights reserved.