|
|
back to boardDiscussion of Problem 1893. A380Row 1 & 2 As i read the problem, the configuration of two first rows are : Window | A | Aisle | B | C | Aisle | D | Window I check with my program and for 1A 'window' is AC while 'aisle' gives WA6 Edited by author 30.10.2011 20:54 Edited by author 30.10.2011 20:54 Re: Row 1 & 2 Wrong. The configuration is: Window |A||B| Aisle |C||D| Window Re: Row 1 & 2 Posted by Victor 18 Apr 2012 03:53 Why would the configuration be that way? "The aisles in this section are between the first and second seats and between the third and fourth seats of each row." That means that the configuration Window | A | Aisle | B | C | Aisle | D | Window is correct Re: Row 1 & 2 That is the configuration, however the problem requires: "If the seat is next to the window, output “window”. Otherwise, if the seat is next to the aisle, output “aisle”. If neither is true, output “neither”. " This implies if it is both an aisle and a window, the correct answer is window. (if window print window, else if aisle print aisle, else print neither) Re: Row 1 & 2 Hey, man. Thanks a lot for your help Re: Row 1 & 2 thanks bro for your help :-) |
|
|