Search found 24 matches

by zyxw
Tue Nov 11, 2008 3:26 pm
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 17141

Re: 10519 - Really Strange

This is REALLY STRANGE :oops:

The code which i posted in my previous post got WA today!
I don't understand how RTE changed to WA..
Anyway after correcting the error, got AC :)
by zyxw
Tue Nov 11, 2008 1:18 pm
Forum: Bugs and suggestions
Topic: "You are not authorised to view this resource." errors
Replies: 5
Views: 5255

Re: "You are not authorised to view this resource." errors

Yeah.. I constantly get this error when i click any problem name from 'My Submissions' and 'My Statistics' page.
Also when trying to view also other's statistics.. Its irritating :(
Is there any fix for this ??
by zyxw
Sat Jul 19, 2008 7:32 am
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 29067

355 - Clarification

I got AC after 6 WA :) I would like to make few clarifications so tat it might help others: 1. As said by others, there are no negative inputs. 2. The problem states that, the number to be converted may contain invalid digits . But, it may contain invalid characters too! Example: 10 2 A4 Here A4 is ...
by zyxw
Fri Jul 18, 2008 2:39 pm
Forum: Volume 111 (11100-11199)
Topic: 11158 - Elegant Permuted Sum
Replies: 23
Views: 17513

Thanks!!

Thanks a lot to sunny for the test cases. It helped me to find the reason for WA.
Also, thanks to A1 for his idea, which helped me to get AC :)
by zyxw
Mon Jul 14, 2008 4:50 pm
Forum: Volume 102 (10200-10299)
Topic: 10293 - Word Length and Frequency
Replies: 18
Views: 9956

No newlines at the end - I think...

My program doesn't handle newlines after last block of input. But got AC :lol:
by zyxw
Mon Jul 07, 2008 7:52 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 72197

Re: 10055 - Hashmat the Brave Warrior

Thanks once again mf :)
I'll follow them...
by zyxw
Mon Jul 07, 2008 7:48 pm
Forum: Volume 103 (10300-10399)
Topic: 10371 - Time Zones
Replies: 12
Views: 7371

Re: 10371 - Time Zones

Thanks Jan for your reply. I wonder how you generated those test cases on which my code fails exactly :o I've corrected the mistake. And I checked all the previous i/o given by you and soyoja. But still WA . Here is my corrected code... #include<iostream> // acm-10371 #include<string> using namespac...
by zyxw
Sun Jul 06, 2008 7:48 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 72197

Re: 10055 - RTE in JAVA (SOLVED)

After following mf's suggestion, got AC :lol:
http://online-judge.uva.es/board/viewto ... 2e0#p95456
by zyxw
Sun Jul 06, 2008 6:53 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 72197

Thanks a million MF...

Got AC after 10 RTEs :) Thanks a million mf . Initially when i had difficulty in reading input in Java, i followed your suggestion here... http://online-judge.uva.es/board/viewtopic.php?p=73516&sid=843c80097f2514ef2d73223abcb10e02#p73516 Its nice to see the same person helping me now :wink: Try ...
by zyxw
Sun Jul 06, 2008 5:05 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 72197

Re: 10055 - Hashmat the Brave Warrior

Thanks mf for quick reply... 1) Should i use BigInteger? 2) I am getting RTE for another problem also (10519 - REALLY STRANGE). I have posted here... http://online-judge.uva.es/board/viewtopic.php?f=25&t=12321&st=0&sk=t&sd=a&start=30#p95457 Since i'm getting RTE in both programs,...
by zyxw
Sun Jul 06, 2008 2:48 pm
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 17141

10519 - RTE

I'm new to Java..
My code gets RTE.

Is my method of taking input wrong?
Please help :roll:

Code: Select all

cut after AC
by zyxw
Sun Jul 06, 2008 2:29 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 72197

10055 - RTE in JAVA

Hi.. I had posted in Java forum. But no reply :-? So i'm posting here... I solved this problem using C++ (which is my usual language). I am a newbie in Java... I wanted to use Java in UVa. So i chose a easy problem( 10055 ) to start with. But... :o RUNTIME ERROR is the only verdict i'm getting :oops...
by zyxw
Thu Jul 03, 2008 9:39 am
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 72197

10055 - RTE in JAVA (SOLVED)

I solved this problem long ago using C++ (which is my usual language). I am a newbie in Java... I wanted to use Java in UVa. So i chose a easy problem( 10055 ) to start with. But... :o RUNTIME ERROR is the only verdict i'm getting :oops: I don't think there is any error in algorithm :wink: So i'm po...
by zyxw
Thu Jul 03, 2008 9:23 am
Forum: Volume 103 (10300-10399)
Topic: 10371 - Time Zones
Replies: 12
Views: 7371

10371 - WA

I'm getting WA again and again. I have tested all the i/o given by SOYOJA and JAN . ( There were some bugs in my code, which I rectified. Thanks to them.) Now I'm getting same output as theirs... But still WA :oops: I need some more i/o, where my code fails. Here is my code: #include<iostream> // ac...
by zyxw
Tue Jul 01, 2008 10:18 am
Forum: Volume 3 (300-399)
Topic: 350 - Pseudo-Random Numbers
Replies: 56
Views: 22274

Re: if you get WA on 350 notice that.....

L might bigger than M add L=L%M in your code I hope it can help you. Just now i got AC, where i considered that L is less than M . One more thing: As the problem states, " the cycle might not begin with the seed! ", I used something like this: initialize count=1; loop // calculate next 'l...

Go to advanced search