This is the blog of site xoptutorials.com. All the news will be posted here and on the facebook page of xoptutorials.
Pages
▼
Tuesday, August 19, 2014
COJ 1300. Modulo
We can keep a boolean array A where A[I] shows whether we already saw the number I or not. then we can just input and every time check whether the current number has been seen or not.
No comments:
Post a Comment