## Search found 70 matches

Wed Jul 27, 2005 5:58 pm
Forum: Volume 108 (10800-10899)
Topic: 10875 - Big Math
Replies: 27
Views: 5153
Hi James,
Have u check this type of input. Like 0-2 = -2, i mean start with 0 but not only have one digit. 0 follows with some operation. Good luck.
Sat Jul 23, 2005 9:29 pm
Forum: Volume 3 (300-399)
Topic: 332 - Rational Numbers from Repeating Fractions
Replies: 83
Views: 20543
Hi THinker, Try this input/output. Hope it helps. Input:- 2 0.318 1 0.3 2 0.09 6 0.714285 6 0.714285000 1 0.9999 9 0.123456789 8 0.987654321 9 0.574454131 5 0.83777471 1 0.22222222 9 0.111111111 9 0.222222222 9 0.333333333 9 0.444444444 9 0.555555555 9 0.666666666 9 0.777777777 9 0.888888888 9 0.999...
Sat Jul 23, 2005 7:47 am
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 29204
Hi thinker, Try this input and outputs. Good luck. Input :- 42 18 35 1 20 25 29 9 13 15 6 46 32 28 12 42 46 43 28 37 42 5 3 4 43 33 22 17 19 46 48 27 22 39 20 13 18 50 36 45 0 0 Your output :- Between 42 and 18, 27 generates the longest sequence of 111 values. Between 35 and 1, 1 generates the longe...
Sat Jul 23, 2005 7:15 am
Forum: Volume 3 (300-399)
Topic: 332 - Rational Numbers from Repeating Fractions
Replies: 83
Views: 20543
Hi Thinker,
In my previous thread i told u that r u sure that ur code handle j=0 ? Your code still not handle this case. Then what u modified ???? You'r code still get gcd_v=0. Thats why SIGFPE.

Try this case :-

Code: Select all

``````0 0.11
0 0.1234
0 0.9999999
``````
Tue Jul 19, 2005 3:01 pm
Forum: Volume 3 (300-399)
Topic: 332 - Rational Numbers from Repeating Fractions
Replies: 83
Views: 20543

### ?

Hi Thinker_BD,
You did not tell which RTE u've got(SegV/SegPE). Are u sure that ur code handle j=0 and gcd_v is zero. I think u should check this case to avoid division by zero. And there is so much thread abt this topic where u can get I/O. So search for it. Good Luck
Tue Jul 19, 2005 8:25 am
Forum: Volume 100 (10000-10099)
Topic: 10010 - Where's Waldorf?
Replies: 42
Views: 18411

### <>

Hi tan_Yui,
Thanks for ur I/O. I'll check my code as soon as posible. Thanks again for ur great help.
Mon Jul 11, 2005 7:17 am
Forum: Volume 101 (10100-10199)
Topic: 10192 - Vacation
Replies: 58
Views: 14670

### >>>>>

Hi Thinker, I cant understand why u use i,j,m,n variable as a global variable. I think u know clearly that how global variable initialize. This is the reason for ur TLE. Just cut those line and paste it in your LCS() function. Another thinks u will get RTE after modifying this. So also change the si...
Sun Jul 10, 2005 9:50 pm
Forum: Volume 103 (10300-10399)
Topic: 10374 - Election
Replies: 44
Views: 15209
Hi CodeMaker,
I've checked with random input. Unfortunately i didnt get any wrong output. By the way, try to use MAP STL, then it becomes very easy. This problem doesnt have any tricky input. So dont need to use such a large size of array. For name i used 85 only and there are only <=20 party.
Fri Jul 08, 2005 6:54 am
Forum: Volume 100 (10000-10099)
Topic: 10010 - Where's Waldorf?
Replies: 42
Views: 18411

### 10010 Where's Waldrof?

Hi all,
Sun Jun 26, 2005 5:32 am
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 22111
Hi Christophoros, Congrats, when the problem is generally a output related problem then we have to care every blank space or newline. So, every blank space after any valid column leads WA. But in others problems where output is not the main things, space after output gets PE. Good luck and bye. :D
Sat Jun 25, 2005 8:45 pm
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 22111
Hi Christophoros,
Your programs prints blank space after the last column in any row. Say a input like --> CCFCRRCFFFCRCFCFRR. So after print constant at the first row the line should be stop. But ur code print blank space upto the given string length. Hope it helps. Thanx.
Sat Jun 25, 2005 6:10 am
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 22111
Hi Christophoros, I dont think there is any tricky case. But i miss one things when i faced WA. That case was FFFF i means falls at first position. After taking this case i got ACC. The 2nd case of the previous post was really helps me. Here are some cases. Hope it helps. Thanx. Input :- 14 FCCCRRCC...
Sat Jun 18, 2005 11:24 pm
Forum: Algorithms
Replies: 1
Views: 1059

### Max Flow

Hi,
I also need some useful link of max flow problem. By the way, neno_uci there are lots of problem can be solved by max flow. You can get it by click on the search button on the board and type 820. Its a max flow problem and by there u can get other max flow problem number.
Sat Jun 18, 2005 11:18 pm
Forum: Volume 103 (10300-10399)
Topic: 10393 - The One-Handed Typist
Replies: 40
Views: 11146

### WHY ?????

Hi All,
Why no reply for this easy problem ????????
Sat Jun 18, 2005 10:50 pm
Forum: Volume 106 (10600-10699)
Topic: 10650 - Determinate Prime
Replies: 67
Views: 24931

### 10650

Hi Bijon, I also got WA before. I missed some cases. But now ACC. I've given you some of the input. Whats is the output of ur code generate ?? 41 18467 6334 26500 19169 15724 11478 29358 26962 24464 5705 28145 23281 16827 9961 491 2995 11942 4827 5436 391 14604 3902 153 292 12382 17421 18716 19718 1...