Submitting a Solution
Bayan Programming Contest follows an output-only style. When you have written and tested your code, you can request an input by clicking on the "Submit" area of the problem description page. A file with ".in" extension will be downloaded to your computer. You should then produce the corresponding output and save it to another file (It's a good practice to have this filed named "problem_name.out").
When you have an output file, you can submit it in the contest platform. The contest judge will analyze your submitted output and mark it as accepted or rejected.
Note that you have just a few minutes to run you program and submit an output after you have downloaded an input file. If you fail to submit an output in time, a rejected submit will be counted for you.
Also be careful that each time you request an input, a different one will be given to you. So if your submission has been rejected, you should request a new input file.
Working with input/output files
p1.exe < 10.in > problem1.out