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

Row 1 & 2
Posted by Nguyen Khac Tung 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
Re: Row 1 & 2
Posted by larev01 3 Apr 2012 14:27
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
Posted by SquidBoy 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)
Re: Row 1 & 2
Posted by Vohidjon 6 Feb 2015 01:29
Hey, man. Thanks a lot for your help
Re: Row 1 & 2
Posted by abdur rahman shajib 12 Oct 2018 01:46
thanks bro for your help :-)