Search found 143 matches

by angga888
Sat May 29, 2004 6:12 am
Forum: Volume 7 (700-799)
Topic: 767 - Game
Replies: 8
Views: 2424

767

Multiple input...


Anggakusuma
by angga888
Fri May 28, 2004 4:09 pm
Forum: Volume 105 (10500-10599)
Topic: 10583 - Ubiquitous Religions
Replies: 33
Views: 14833

Hi,

Try this input:
4 3
1 2
3 4
1 3
0 0
Output should be 1, but I think your program will output 2.


Anggakusuma
by angga888
Fri May 28, 2004 4:56 am
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 6048

10609

Yes, I see.
Thanks :wink:


Anggakusuma
by angga888
Thu May 27, 2004 8:26 am
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 6048

10609

Wow... thanks for your reply. I found my mistakes. I made two mistakes : - I misplaced my if command, and - I faced so many percision errors. :x Now I get AC. :wink: NB: but I still don't understand why the third and forth test case (input 3 & 4) produce different output. Regards, Anggakusuma
by angga888
Wed May 26, 2004 8:05 pm
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 6048

10609 WA

Hi, I use recursion and always get WA in this problem. I get confused with this problem statement : Each of the S lines after that contains two floating-point numbers indicating the coordinate of one terminal point or vertex. The terminal points should be sorted in increasing order of the value of a...
by angga888
Mon Mar 29, 2004 11:18 am
Forum: Volume 103 (10300-10399)
Topic: 10382 - Watering Grass
Replies: 29
Views: 13982

Hi koala,

Haven't look your code, but I suggest you to be careful with precision error. First, I used PASCAL and got WA, but after I translated it to C, I got AC.

Hope it helps,
angga888
by angga888
Sun Mar 07, 2004 2:49 pm
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 26395

Your output is the same with my AC solution.
Maybe you should care about output formatting.

Hope it helps,
angga888
by angga888
Sun Mar 07, 2004 2:39 pm
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 12275

Hi,
How do you know these two inputs give two different outputs---
my AC program gives the same output..... very strange.
I look at the first post in this topic and I've got AC now. :D
Thanks for your reply.

Regards,
angga888
by angga888
Fri Mar 05, 2004 4:07 pm
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 12275

Hi, I'm getting WA for this problem. Can someone explain me why these 2 inputs give different outputs. ((**)()a+b)[(a){a+n}](* ((**)()a+b)[(a){a+n}]( And I'm not sure what this statement means? "If the expression is not properly nested your program should determine the position of the offending brac...
by angga888
Wed Feb 25, 2004 3:49 pm
Forum: Volume 2 (200-299)
Topic: 230 - Borrowers
Replies: 10
Views: 7194

Hi bobi1978,

The answer for your questions:
1. Yes
2. Yes

Hope it helps.
angga888
by angga888
Thu Feb 12, 2004 10:04 am
Forum: Volume 100 (10000-10099)
Topic: 10068 - The Treasure Hunt
Replies: 31
Views: 6276

How to find shortest path to each nodes (start, treasures, end) ???
How to walk in maze and ignore the blocked block and finally find a way
to a node ???
You can use BFS. :)

Good Luck!
angga888
by angga888
Thu Feb 12, 2004 9:53 am
Forum: Volume 7 (700-799)
Topic: 760 - DNA Sequencing
Replies: 33
Views: 12748

Thanks sidky, I get AC now. :D

Regards,
angga888
by angga888
Sun Jan 18, 2004 12:37 pm
Forum: Volume 105 (10500-10599)
Topic: 10578 - The Game of 31
Replies: 11
Views: 4983

Hi SilVer DirectXer,

You can try these inputs:
1
2
3
4
5
6
11
112

And the answers:
1 A
2 A
3 B
4 B
5 A
6 B
11 A
112 B

Hope it helps :wink:

angga888
by angga888
Thu Jan 15, 2004 4:37 pm
Forum: Volume 7 (700-799)
Topic: 760 - DNA Sequencing
Replies: 33
Views: 12748

760 - DNA Sequencing

Hi,
I got lot of WA for this problem.
Could someone please tell me the output of this input:
aaaggaaaaa
aacaa
Any tricky I/O for this problem?

Regards,
angga888
by angga888
Tue Dec 23, 2003 8:03 am
Forum: Volume 101 (10100-10199)
Topic: 10130 - SuperSale
Replies: 76
Views: 22720

You're right.
The answer is 21.

Hope it helps.
Good Luck :D

Regards,
angga888

Go to advanced search