Computer Science Canada Programming C, C++, Java, PHP, Ruby, Turing, VB   Username:   Password: Wiki   Blog   Search   Turing   Chat Room  Members
q5 clarify
Author Message
Panphobia

Posted: Wed Feb 20, 2013 5:22 pm   Post subject: q5 clarify

I understand the question to the most part, but when it says for the input, that is a maximum length the pattern has to be, is that, is one pattern touching all 9 buttons? so if it was of length 1 would it be a maximum of touching all 9?

Tony

Posted: Wed Feb 20, 2013 6:01 pm   Post subject: RE:q5 clarify

I don't understand what you are asking about the 9 buttons. There's a sample case of "size 1" in the question. Does the output to the sample case confirm your understanding of the requirement?
Tony's programming blog. DWITE - a programming contest.
Panphobia

Posted: Wed Feb 20, 2013 6:05 pm   Post subject: RE:q5 clarify

I am ok now I think I understand
Panphobia

Posted: Wed Feb 20, 2013 6:30 pm   Post subject: RE:q5 clarify

I got pretty bad on this dwite, on the first one did 24 - instead of - 24, but for that last question as I understood you were supposed to figure out the total amount of patterns with a certain length, I made every single button have an integer value on the possible steps from that position, now I understood how you got 56 from 1, you just add up all the moves for each button, but when you do 2, wouldnt you take the add the different 2 length patterns so if you were on button 1 that would have 5 locations and you would go total += location[1]*location[possible Edges]?
Tony

Posted: Wed Feb 20, 2013 6:45 pm   Post subject: RE:q5 clarify

AJ would be the best person to talk to about Q5. I think he's planning on some writeups over the next couple of days.
Tony's programming blog. DWITE - a programming contest.
A.J

Posted: Thu Feb 21, 2013 6:15 pm   Post subject: RE:q5 clarify

Yeah, just posted the write up: http://compsci.ca/v3/viewtopic.php?p=269811#269811
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

Page 1 of 1  [ 6 Posts ]
 Jump to:  Select a forum  CompSci.ca ------------ - Network News - General Discussion     General Forums   -----------------   - Hello World   - Featured Poll   - Contests     Contest Forums   -----------------   - DWITE   - [FP] Contest 2006/2008   - [FP] 2005/2006 Archive   - [FP] 2004/2005 Archive   - Off Topic     Lounges   ---------   - User Lounge   - VIP Lounge     Programming -------------- - General Programming     General Programming Forums   --------------------------------   - Functional Programming   - Logical Programming   - C     C   --   - C Help   - C Tutorials   - C Submissions   - C++     C++   ----   - C++ Help   - C++ Tutorials   - C++ Submissions   - Java     Java   -----   - Java Help   - Java Tutorials   - Java Submissions   - Ruby     Ruby   -----   - Ruby Help   - Ruby Tutorials   - Ruby Submissions   - Turing     Turing   --------   - Turing Help   - Turing Tutorials   - Turing Submissions   - PHP     PHP   ----   - PHP Help   - PHP Tutorials   - PHP Submissions   - Python     Python   --------   - Python Help   - Python Tutorials   - Python Submissions   - Visual Basic and Other Basics     VB   ---   - Visual Basic Help   - Visual Basic Tutorials   - Visual Basic Submissions     Education ----------- - Student Life   Graphics and Design ----------------------- - Web Design     Web Design Forums   ---------------------   - (X)HTML Help   - (X)HTML Tutorials   - Flash MX Help   - Flash MX Tutorials   - Graphics     Graphics Forums   ------------------   - Photoshop Tutorials   - The Showroom   - 2D Graphics   - 3D Graphics     Teams ------ - dTeam Public

 Style: Appalachia blueSilver eMJay subAppalachia subBlue subCanvas subEmjay subGrey subSilver subVereor Search: