ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1893. A380

Nguyen Khac Tung Row 1 & 2 [5] // Problem 1893. A380 30 Oct 2011 21:27
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
larev01 Re: Row 1 & 2 [4] // Problem 1893. A380 3 Apr 2012 14:27
Wrong. The configuration is:
Window |A||B| Aisle |C||D| Window
Victor Re: Row 1 & 2 [3] // Problem 1893. A380 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
SquidBoy Re: Row 1 & 2 [2] // Problem 1893. A380 27 Apr 2012 05:10
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)
Vohidjon Re: Row 1 & 2 [1] // Problem 1893. A380 6 Feb 2015 01:29
Hey, man. Thanks a lot for your help
abdur rahman shajib Re: Row 1 & 2 // Problem 1893. A380 12 Oct 2018 01:46
thanks bro for your help :-)