Page 2 of 2
Posted: Fri Jul 14, 2006 6:47 am
by Raiyan Kamal
You have to extract the hints from the given paragraph. Try to figure/find out the meaning of the words and phrases unkown / not very familiar to you. Then you'll be able to solve it the way I did.
But that is not the only way, I believe you can solve it in many other ways. You might find another solution to this problem too. In that case, I would really like to exchange ideas with you regarding this problem.
Posted: Sun Jul 16, 2006 3:05 pm
by daveon
Actually, generating the output was just as challenging as solving it.
Posted: Sun Jul 16, 2006 6:40 pm
by Raiyan Kamal
congrats !

Posted: Tue Jul 18, 2006 2:41 am
by daveon
By the way, I solved this problem just before I posted my hint.
But here is the hint expanded all the way:
Code: Select all
N=1 -> RU
N=2 -> RULU
N=3 -> RULULDLU
N=4 -> RULULDLULDRDLDLU
How could we output when N>10??
Posted: Tue Oct 09, 2007 1:00 pm
by mistycheney
When N<=10, my output is fine..
but when it comes to 11,12,13, the screen is messy, how could i tell whether it's right or wrong?
Posted: Tue Oct 09, 2007 3:14 pm
by Jan
You can save your output to a file.
why PE?
Posted: Tue Oct 09, 2007 4:36 pm
by mistycheney
Don't know why keep getting PE, i outputed the result to file and checked every 13 curves~~I think they're perfect~~
Could anyone help me?~~
Thanks very much~~
--------------------------------------------------
Posted: Tue Oct 09, 2007 5:01 pm
by Jan
While sending your code make sure that your code prints to the standard output.[I told you to save your output to a file, such that you can check it maually]
However, check the input output carefully.
Input:
Output:
Code: Select all
....._..._
....|_|_|.|_
._..._|...._|
|_|_|_
..|_|_|
....|_
....._|
..|_|
^
Where '.' represents a space. Hope it helps.
Posted: Tue Oct 09, 2007 6:30 pm
by mistycheney
thanks so much~~like what you said, my mistake was that i outputed extra spaces after those shorter lines in each curve~~
now I got AC~~thank you~~
Posted: Wed Oct 10, 2007 12:29 am
by Jan
You are welcome. Don't forget to remove your code, thanks.
Re: 177 - Paper Folding
Posted: Sat Oct 04, 2014 11:16 pm
by frimlik
Could anybody (with AC code), please, paste here an output made from input
1
2
3
4
5
6
7
8
9
10
11
12
13
0
?
Thanks a lot

Re: 177 - Paper Folding
Posted: Sun Oct 05, 2014 9:09 am
by lighted
Re: 177 - Paper Folding
Posted: Sun Oct 05, 2014 11:25 am
by frimlik
Thanks a lot

, that's what I've been looking for.
But it didn't solve my problem...

Diff says that there is no difference between my output and output from uDebug, but I still get the answer WA...
Re: 177 - Paper Folding
Posted: Sun Oct 05, 2014 1:29 pm
by lighted
Post your code