Search found 4 matches

by david_ciang
Tue Jan 14, 2003 11:31 am
Forum: General
Topic: What shall i use instead of fopen() in C
Replies: 3
Views: 1292

freopen()

You can use freopen(). Open the file as stdin, so you can read the file even with the scanf(). Here is the trick so your code can read from a file in your computer, but you can summit it to judge without replacing any code because the code will read from standard input in judge's computer. The judge...
by david_ciang
Tue Jan 14, 2003 11:30 am
Forum: General
Topic: What shall i use instead of fopen() in C
Replies: 3
Views: 1292

freopen()

You can use freopen(). Open the file as stdin, so you can read the file even with the scanf(). Here is the trick so your code can read from a file in your computer, but you can summit it to judge without replacing any code because the code will read from standard input in judge's computer. The judge...
by david_ciang
Mon Nov 11, 2002 8:27 am
Forum: Java
Topic: Type `List' not found - Any Suggestions?
Replies: 1
Views: 2261

Try using Vector instead.

Vector results = new Vector();
by david_ciang
Mon Nov 11, 2002 6:18 am
Forum: Volume 8 (800-899)
Topic: 833 - Water Falls
Replies: 5
Views: 3611

833 - Water Falls

Does anyone have some test cases for prolem 833 (Water Falls) ?

I always get wrong answer. :( [/cpp]

Go to advanced search