This link has been bookmarked by 2 people . It was first bookmarked on 09 Oct 2012, by keliabanks.
-
09 Oct 12
-
programming, algorithms, and discrete mathematics though puzzles and problems which have appeared in the International ACM Programming Contest and similar venues.
-
Several of the assigned problems are regretably testable only with the UVa judge, so do them there.
-
Use "static String ReadLn (int maxLg)" method to read input.
-
Use StringTokenizer, as shown in the sample code.
-
I initially used split(" ") method to divide the string, but it actually contains some special characters (such as \r). StringTokenizer will ignore such special characters.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.