Search found 5 matches

by mimi
Sat Dec 20, 2008 12:44 am
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25974

Re: 674 - Coin Change

Thank you mf!!! :D My code is accepted now.
by mimi
Sat Dec 20, 2008 12:18 am
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25974

Re: 674 - Coin Change

-What you have to do is check whether readLine() returned null, (it happens when there's no more input), and if so, stop the while loop and exit
Can you please write (code in java)how to do it? :oops:
by mimi
Fri Dec 19, 2008 11:20 pm
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25974

Runtime error

I change it.But now it says Runtime error?? :oops:
by mimi
Fri Dec 19, 2008 9:53 pm
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25974

TLE

Can you please tell me how to change my program to compute this array only once :oops: Thanks
by mimi
Fri Dec 19, 2008 6:42 pm
Forum: Volume 6 (600-699)
Topic: 674 - Coin Change
Replies: 77
Views: 25974

TLE

I got tle. Will anybody see my code and tell me where i am wrong. Thanks in advance. Here is my code: import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader vhod = new BufferedReader(new InputStreamReader(System.in)); while(true) { int n = In...

Go to advanced search