Sunday, September 22, 2013

Problem A (2013) : Method - Brute Force

Problem



A.java

Sample Running : 

5
100
25
45
98
1000000
0
Case #1: 1
Case #2: 24
Case #3: 6
Case #4: 10
Case #5: 22
Case #6: 249998







you can test it by your self..
i hope you like this souce code...
and please give some comment....
                                                                                                                                                      Created By : Z-man, 2013

No comments:

Post a Comment