Search found 163 matches
- Sat Feb 05, 2005 12:26 am
- Forum: Volume 8 (800-899)
- Topic: 868 - Numerical Maze
- Replies: 21
- Views: 14583
Hello, I have seen this post, and I have decided to make three questions :) 1) Are there some tricky inputs? 2) When in the problem specification says the exit point is always a cell in the last line of the maze that is refered only for the last row, or for the other edges of the maze too? 3) Why is...
- Mon Jan 31, 2005 11:57 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
First, you must change by
Second, you only must sum 0.0001 if the fourth decimal digit (after the point) is == 5
Third, you must change "s" by "n" in printf function.
Code: Select all
if (casos>1)
Code: Select all
if (casos>=1)
Third, you must change "s" by "n" in printf function.
- Mon Jan 31, 2005 4:49 am
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
- Sun Jan 30, 2005 11:40 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
Your problem when you catch the input data is that you don't see if there is a blank line no time. You must do it as multiple input specification say. In the post where is my code you can see an example of this. By another way, I used Dev-C++, and with this compiler I have compared your result and m...
- Sun Jan 30, 2005 7:41 am
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
Hi Antonio, Firstly, you must catch correctly the input. See my post, for example. Secondly, I have compared your output with mine for the 9000 possible cases and are the same!!! I have sent your code corrected and obtain WA!!! I think that is a problem of small differences with the compilers (I hav...
- Mon Jan 24, 2005 4:41 am
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
ARRRRRRRRRRGGGGGGGGGHHHHHH!!!!! :x I GOT ACCEPTED!!! Thanks very very much Evan Tsang and nnahas!!!! I had a bug with '9' + 1 = ':'. I had another bug (maybe never I would have discovered), if you have 1.11550 the correct answer is 1.116, and for my previous program was 1.155, I thought that 1.155 w...
- Sat Jan 22, 2005 12:46 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
Hi nnahas, 1) You shouldn't get the number of cases from the input stream . The first line isn't the number of cases. it is the first number fot which you have to produce an output. 2)The remaining part of your input code is also wrong. As far as I understand you should only use getc in this program...
- Sun Jan 16, 2005 12:42 am
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 43853
545
Hi, I have tried this problem about thousands, and thousands of ways, but I always obtain WA. In this code I search the precision, but I don't get AC. Please, Can anyone say me what is the cases that is wrong in my code, please, or send me the 9000 posible cases with its output, please. I can't unde...
- Sun Dec 26, 2004 1:33 am
- Forum: Volume 3 (300-399)
- Topic: 314 - Robot
- Replies: 30
- Views: 6495
- Sat Dec 25, 2004 10:31 pm
- Forum: Volume 3 (300-399)
- Topic: 314 - Robot
- Replies: 30
- Views: 6495
P314 Help, help, help, help, please!!!!
Hello, I can't discover my bug in my code. :( If you don't want see my code, can you give me the correct output for the next input? Thanks in advance. :wink: Here is the input: 9 10 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 ...
- Thu Nov 25, 2004 8:01 pm
- Forum: Off topic (General chit-chat)
- Topic: How old are you? Statistics.
- Replies: 121
- Views: 175628
- Fri Oct 22, 2004 6:54 am
- Forum: Volume 5 (500-599)
- Topic: 551 - Nesting a Bunch of Brackets
- Replies: 56
- Views: 12146
- Sun Oct 17, 2004 8:38 pm
- Forum: Volume 5 (500-599)
- Topic: 551 - Nesting a Bunch of Brackets
- Replies: 56
- Views: 12146
551
Hi: Can anyone help me? I only need the outputs for this inputs, or others inputs/outputs with some special cases. Thanks! Input: (*adf(y)(* (*adf(y)( (a*) )() *)() ads()asdf (***) (** ({{]}] (**){*{]}] <>< <sgf(sfg[sfg{sfg(*sfgsdfg*)dhj}]dfh)> <sgf(sfg[sfg{sfg(*sfgsdfg*)dhj}]dfh)>< <sgf(sfg[sfg{sfg...