
Search found 5 matches
- Sat Dec 20, 2008 12:44 am
- Forum: Volume 6 (600-699)
- Topic: 674 - Coin Change
- Replies: 77
- Views: 39369
Re: 674 - Coin Change
Thank you mf!!!
My code is accepted now.

- Sat Dec 20, 2008 12:18 am
- Forum: Volume 6 (600-699)
- Topic: 674 - Coin Change
- Replies: 77
- Views: 39369
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?
Can you please write (code in java)how to do it?

- Fri Dec 19, 2008 11:20 pm
- Forum: Volume 6 (600-699)
- Topic: 674 - Coin Change
- Replies: 77
- Views: 39369
Runtime error
I change it.But now it says Runtime error?? 

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

- Fri Dec 19, 2008 6:42 pm
- Forum: Volume 6 (600-699)
- Topic: 674 - Coin Change
- Replies: 77
- Views: 39369
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 ...
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 ...