The Problems

Each contest consists of 3 algorithmic problems. The problems will be listed in the panel on the top left side of the page. Click on a problem’s name to view the statement for that problem, which will appear in the middle of the page.

The problem statement will be an HTML file, possibly containing images. It will include on...e or more sample test cases and will have one input file. Shopee photos :

What are the Submission Rules and Judging?

After downloading the input file, you will have six minutes to submit the output (along with your source code). There is only one input file, but you can submit as many times as you wish during the six minutes. Your last submission counts as your final answer. You will find out if your answer was correct after the contest.

*Note: You may experience latency issues between your computer and our servers and are therefore advised to submit with an adequate amount of time remaining in your six-minute period.

How We Will Judge Your Submission
1. Minor differences in whitespace are ignored. In particular, every non-empty sequence of whitespace characters (except newlines and non-ASCII characters) is treated as a single space. Unix, Mac and Windows endlines are all acceptable ways of ending lines.
2. Leading and trailing whitespace on each line is ignored. The remaining, non-empty lines are compared pairwise, using rules 1 and 3.
3. Two floating point numbers are considered equa… Shopee photos :

How does it work?

Duration
There are multiple rounds to the Facebook Hacker Cup. The Qualification Round lasts 72-hours. Online Round 1 consists of 3 sub-rounds each 3-hours long. Online Round 2 lasts 3-hours long.

Environment
You can use any programming language to solve the problems, using any development environment or text editor, as long as the compiler or interpreter you used for that language is freely available and easy to download and use. Time-limited trials for compilers and interpreters are disallowed. Visual Studio is acceptable as a compiler, since there's a free version of (almost the same) compiler available, Visual Studio Express. Facebook reserves the right to make further exceptions on a case-by-case basis.

The Problems
Each contest consists of 3 algorithmic problems. The problems will be listed in the panel on the top left side of the page. Click on a problem’s name to view the statement for that problem, which will appear in the middle of the page.

The problem… Shopee photos :