Search found 155 matches

by tan_Yui
Tue May 02, 2006 3:05 pm
Forum: Volume 110 (11000-11099)
Topic: 11002 - Towards Zero
Replies: 39
Views: 17673

Wrong Answer

I tried to solve with DP solution, but got WrongAnswer... Here is my input/output. Is my output correct? 4 2 3 1 -3 5 7 6 10 -2 20 -7 -5 -8 10 8 7 2 5 -6 -6 7 3 19 -50 4 26 26 -43 20 -16 5 6 -1 0 0 18 0 -29 26 0 0 1 0 0 0 0 0 0 0 0 0 0 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 3 0 -30 -30 -7 -8 -5 -50 -50 0...
by tan_Yui
Mon May 01, 2006 2:41 pm
Forum: Volume 110 (11000-11099)
Topic: 11008 - Antimatter Ray Clearcutting
Replies: 81
Views: 38262

WrongAnswer

Hello, everyone. I tried to solve this problem, but I got WrongAnswer. Are there any critical inputs? If you have any data, please show us solvers. And I have a question. Is the following input (posted by StatujaLeha) valid after all? 1 16 12 540 958 901 979 540 958 901 979 758 725 664 899 758 725 6...
by tan_Yui
Fri Mar 03, 2006 5:58 am
Forum: Volume 109 (10900-10999)
Topic: 10992 - The Ghost of Programmers
Replies: 36
Views: 17637

must use BigInteger Class?

Thanks, Cho and Abednego! Your idea is useful and efficient. :) I'll try to solve again with this method. p.s. My current AC code with BigInteger Class gets the time less than 0:00.100. Because this problem condition is not hard (length of Y<50, at most 250 lines of input data), my code could avoid ...
by tan_Yui
Thu Mar 02, 2006 3:46 pm
Forum: Volume 109 (10900-10999)
Topic: 10992 - The Ghost of Programmers
Replies: 36
Views: 17637

must use BigInteger Class?

Hi, everyone.
I solved this problem by using my BigInteger Class (C language).
Can I solve with no use for BigInteger Class?

Thank you.
by tan_Yui
Wed Feb 22, 2006 8:54 am
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30605

Hi, devious. There is an input data in my previous post of this thread. Your code was failed on this input : 1 2 0 Output for this input is "Presentation Error". Ok, so I have tried all the test samples for this problem that y'all have supplied....and everything comes out correctly. This means..eith...
by tan_Yui
Wed Feb 01, 2006 1:10 am
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30605

I didn't know this website. I think that almost every solvers use this board to discuss about the problems of http://online-judge.uva.es/problemset/ . And, the site "Programming Challenges" says "This site is still in beta testing and several features are not yet completely stable." on top page. If ...
by tan_Yui
Tue Jan 31, 2006 9:56 pm
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30605

The input will consist of an arbitrary number of input sets. Each input set begins with a positive integer n < 100, alone in a line, which describes the number of lines of the standard solution. The next n lines contain the standard solution. Then there is a positive integer m < 100, alone in a lin...
by tan_Yui
Tue Jan 31, 2006 11:43 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 38121

Did you run your code with the sample input. Your code does not even give the right output for the sample input. I do it!...But I still get RE! Try again.. and check your output for the sample input, carefully. And, this problem is handled only one case of input. You don't need to check to multiple...
by tan_Yui
Tue Jan 31, 2006 10:50 am
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 30605

Re: Time limit exceeds (I checked all the test cases)

Hi, liangchene.
I believe your code was failed because of Output Limit Exceeded not TLE.

Problem statement.
No line will have more than 120 characters.
Change according to it, you will get Accepted.

Best regards.
by tan_Yui
Sun Jan 29, 2006 2:25 pm
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17289

Re: 10008 What's Cryptanalysis , Why WA???

First of all, try the sample input to find the correct output.
You code was failed. :(

After you changed the code, if still get the wrong answer, post on this thread again.

Thank you.
by tan_Yui
Thu Jan 26, 2006 12:56 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 22416

Re: WA in 108

Try this. 3 -127 -125 -123 -121 -119 -117 -115 -113 -111 Output is -111. By the way, my compiler (Borland C++ Compiler 5.5) shows compile error for your code. Other compiler (e.g. acm judge system) may not fail, but I couldn't compile normally without any editing in my environment. Following is the ...
by tan_Yui
Thu Jan 19, 2006 1:30 pm
Forum: Volume 109 (10900-10999)
Topic: 10977 - Enchanted Forest
Replies: 42
Views: 17618

Hi, shihabrc. I think the main source of your WA is the part of BFS or decision, simply. And small condition (ex. when the start point and goal point are same) should be added. Try the following input set. 1 1 0 0 1 1 1 1 1 0 1 1 0 1 1 1 0 10 10 0 1 3 5 3 5 5 5 1 2 1 3 1 4 1 5 2 5 1 4 3 1 5 5 6 1 2 ...
by tan_Yui
Thu Jan 19, 2006 12:46 pm
Forum: Volume 1 (100-199)
Topic: 116 - Unidirectional TSP
Replies: 226
Views: 35768

Re: 116 WA, plz help, had tried test data

Hi, xavier1214.
Try the following input.

1 11
-1 0 0 -1 1 1 1 -1 1 -1 1

Output is :
1 1 1 1 1 1 1 1 1 1 1
1

By the way, your output set are same as mine, except for one input.
Input '10 100 ....' has more than 10*100 elements, so my code couldn't execute.

Best regards.
by tan_Yui
Sun Jan 08, 2006 9:28 am
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 26206

Re: 195 OLE -- CAN ANYONE GIVE ME SOME CRITICAL INPUT??

Your code seems good, but it's too small length to store the input string. You will get 'Accepted' after changing the array size. :) For example, 1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa when this input was coming, your code will handle illegal processes. With my test, I think the size 100(or 99?) is e...
by tan_Yui
Tue Jan 03, 2006 7:11 pm
Forum: Volume 1 (100-199)
Topic: 190 - Circle Through Three Points
Replies: 126
Views: 19648

Note that this program doesn't have a special corrector program. So, how both can get AC? :o However, I modified my code to print +0.000 & that got AC as well. So, apparantly there's no such input. I checked both case by changing my code like you did, then thought simply both can get AC. I also bel...

Go to advanced search