Search found 7 matches

by dallen
Mon May 27, 2013 12:39 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22702

10465 - Homer Simpson

I'm getting WA and still couldn't find a test case in which my code fails, can someone point out some tricky cases to test. Here's my code is anyone is interested. //import java.io.File; //import java.io.FileInputStream; //import java.io.FileNotFoundException; import java.util.Scanner; class Main { ...
by dallen
Fri May 17, 2013 7:40 pm
Forum: Volume 112 (11200-11299)
Topic: 11234 - Expressions
Replies: 15
Views: 7211

Re: 11234 - Expressions Java Compilation Error

I already solved the problem. I don't know why the judge displayed "compilation error" but later it changed to "runtime error", BTW if you're curious the mistake in the code is not handling empty input the rest is correct and I got accepted when I fixed that. Thanks anyway for responding.
by dallen
Sun Apr 28, 2013 12:42 am
Forum: Volume 112 (11200-11299)
Topic: 11234 - Expressions
Replies: 15
Views: 7211

11234 - Expressions Java Compilation Error

I'm trying to upload my solution to problem #11234 but I keep getting CE from the Judge. Anyone experienced in Java willing to help? thanks. Here's my code. //import java.io.File; //import java.io.FileInputStream; //import java.io.FileNotFoundException; import java.util.LinkedList; import java.util....
by dallen
Fri Apr 26, 2013 10:08 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 45857

673 WA

I'm passing most test cases I found in the forums and the test cases in the problem. Can anyone give a hand debugging or with tricky test cases to try.. Thanks in advance. Here's my code. //import java.io.File; //import java.io.FileInputStream; //import java.io.FileNotFoundException; import java.uti...
by dallen
Wed Apr 24, 2013 3:41 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 13917

Re: #112 Tree Summing WA

Thanks a lot brianfry713.. BTW, what a silly mistake.
by dallen
Tue Apr 23, 2013 2:58 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 13917

Re: #112 Tree Summing TLE

I've solved the TLE issue, reading all input before starting to do any computation was REALLY slow for large input. Now I'm getting WA, I've tried several test cases found in the following threads (browsed the forum a lot and found those test cases are more or less the same recommended in most threa...
by dallen
Mon Apr 22, 2013 1:14 am
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 13917

#112 Tree Summing WA

I'm new to programming contests and I was trying to solve problem #112. On my dev machine I pass the test cases provided in the problem and also some others I found browsing the forum, so I believe my program is correct. The problem I'm facing is making it fast enough to be accepted, I'm going to pa...

Go to advanced search