Editorial for GFSSOC '14 Winter J2 - Wow much parking lot
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Keep track of and coordinates after each order.
- North adds to the value.
- South subtracts from the value.
- East adds to the value.
- West subtracts from the value.
Skills needed: Implementation
Time complexity:
Comments