Search found 128 matches

by lbv
Tue Mar 05, 2013 2:47 am
Forum: Volume 100 (10000-10099)
Topic: 10041 - Vito's Family
Replies: 90
Views: 29161

Re: 10041 - Vito's Family

1 10 30 25 15 1 1 1 23 23 90 10 for this WHY THE OUTPUT BECOMES 163 INSTEAD OF 211?????????????? PLEASE ANYONE TELL ME????? :( Take your time to carefully read the problem statement, and then the previous messages from this forum thread. You should come to realize that Vito should locate his house ...
by lbv
Tue Mar 05, 2013 2:32 am
Forum: Volume 102 (10200-10299)
Topic: 10258 - Contest Scoreboard
Replies: 87
Views: 33883

Re: 10258 - Contest Scoreboard

Hi, i always get WA :( You may try the following cases: Input 3 1 3 140 I 6 8 17 I 1 5 24 C 6 5 26 I 4 8 83 C 6 5 106 C 5 6 118 R 1 4 121 C 7 2 131 I 3 6 153 I 10 7 158 U 4 7 234 I 9 9 294 I 1 1 12 I 2 3 61 C 1 2 105 E 2 1 134 R 2 1 160 C 1 2 171 R 1 2 210 E 2 3 223 I Output 1 0 0 1 2 145 4 1 83 6 ...
by lbv
Mon Mar 04, 2013 5:46 pm
Forum: Volume 109 (10900-10999)
Topic: 10901 - Ferry Loading III
Replies: 54
Views: 22741

Re: 10901 - Ferry Loading III

getting TLE.... Help need ... You may try these cases: Input 2 2 24 7 2 right 7 left 12 right 22 right 34 right 73 right 76 right 4 3 8 5102 left 8090 right 9875 left 14954 left 19584 right 31434 left 76546 left 77138 left Output 50 74 50 98 98 146 146 5105 8093 9878 14960 19587 31437 76552 77144
by lbv
Mon Mar 04, 2013 3:27 am
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 28658

Re: 10004-Bicoloring

shipu_a wrote:Getting WA.........plz help... :oops: :roll:
anyone give me some test case.........plz.... :(
You may try these cases:

Input

Code: Select all

5
5
0 1
1 2
2 3
3 4
4 0
6
6
1 0
2 0
3 2
4 3
5 4
4 1
0
Output

Code: Select all

NOT BICOLORABLE.
NOT BICOLORABLE.
by lbv
Sat Mar 02, 2013 11:49 pm
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 55500

Re: 10035 - Primary Arithmetic

I tried every single I/O on this forum and got correct for all of them with the following code, which by the way gets WA. You may try the following cases: Input 362768463 890 865 194758626 841 841998503 73537331 897098126 88441456 899193277 0 0 Output 2 carry operations. 2 carry operations. 1 carry...
by lbv
Fri Mar 01, 2013 7:54 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52313

Re: 10070 - Leap Year or Not Leap Year and …

My code does provide all the sample output. but where it is wrong [/quote] Notice the following statement, from the [i]Output[/i] specification: "A blank line should separate the output for each line of input". Maybe it could have been expressed a little better, but you can see that it says that bl...
by lbv
Fri Mar 01, 2013 8:05 am
Forum: Volume 5 (500-599)
Topic: 514 - Rails
Replies: 79
Views: 23991

Re: 514

Can anyone explain this test case... 5 6 4 8 7 3 2 9 1 10 yes I suggest you start by reading the problem statement again. Take your time and read it carefully as many times as necessary until you're confident you understand every detail. Now, as for the test case you mention, consider this sequence...
by lbv
Wed Feb 27, 2013 5:59 pm
Forum: Volume 102 (10200-10299)
Topic: 10245 - The Closest Pair Problem
Replies: 92
Views: 9813

Re: 10245 - The Closest Pair Problem

I still got a lot of WA... I Don't know why.... You may try debugging these cases: Input 6 10 17 28 77 83 82 95 89 67 81 22 52 1 42 42 0 Output 13.8924 INFINITY By the way, there were already two threads for this problem. Please search the forums before posting your question, and use an existing th...
by lbv
Sun Feb 24, 2013 12:49 am
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 42826

Re: 623 - 500!

dibery wrote:Hello, I'm having some problem.
I've checked the answer from 0! to 1000!, but I still couldn't find the bug.
Did you really check the output for 0! ?
by lbv
Thu Feb 21, 2013 12:51 pm
Forum: Volume 104 (10400-10499)
Topic: 10473 - Simple Base Conversion
Replies: 46
Views: 13102

Re: 10473 - Simple Base Conversion Question

I'm getting WA with this easy problem..Are there special cases for this prob? From the problem statement: "Hexadecimal numbers always starts with a `0x' and all other numbers are to be considered as decimal numbers." Try for example: Input 000 0033 -42 Output 0x0 0x21 Try this I/O ::: 0x56F4FE05A w...
by lbv
Thu Feb 21, 2013 5:23 am
Forum: General
Topic: I installed a Linux(Ubuntu12.04LTS), how can I test RuntimeE
Replies: 4
Views: 7122

Re: I installed a Linux(Ubuntu12.04LTS), how can I test Runt

:D Thanks for your suggestion! But I have tried this code, causing no RE. Why? (..) In general, an invalid memory access has unpredictable results. Many things could happen. Your program could crash (in many different ways), it may not crash and produce crazy results, it may not crash and produce r...
by lbv
Wed Feb 20, 2013 9:22 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 76787

Re: 10038 - Jolly Jumpers

can u sir please give me any extraordinary advice how to overcome it......... :( I don't think I'm very good at giving advice (I try), but I'd say for now just focus on improving your reading comprehension, and work on your patience and general attitude towards problem solving as well. A couple of ...
by lbv
Wed Feb 20, 2013 6:44 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 76787

Re: 10038 - Jolly Jumpers

thanks sir for your advice but sir i saw all the inputs that u wrote and including various inputs and all of them are correct......... but the online judge says it wrong answer ?? please kindly see my code :( It seems that you're still misunderstanding the problem. Check for example this case: 5 1 ...
by lbv
Wed Feb 20, 2013 6:24 pm
Forum: General
Topic: I installed a Linux(Ubuntu12.04LTS), how can I test RuntimeE
Replies: 4
Views: 7122

Re: I installed a Linux(Ubuntu12.04LTS), how can I test Runt

I want to see the message when causing a runtime error on my own computer, can gcc or a way to run program can achieve this goal? If the way permits windows system, that will also be welcomed! If you just want to reproduce a Runtime Error (segmentation fault, crash, etc.), you just need a critical ...
by lbv
Wed Feb 20, 2013 5:57 am
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 22486

Re: 10205 - Stack 'em Up

I am getting WA. I have tested it with sample I/O and other I/O from this forum, it works as expected. But judge says my program is Wrong. You may try these cases: Input 2 5 2 49 3 34 10 23 12 45 6 7 46 31 15 18 52 37 27 14 19 39 22 5 51 30 29 11 42 38 44 9 13 40 21 32 41 16 36 47 4 43 35 24 20 26 ...

Go to advanced search