![]() Sources - Source files of generators, checkers (verifiers) and validator. You can change these files if you want to change some system behavior. For example, “problem.tex” (which will be renamed) is also resources. All resources will be copied to the compilation folder while compilation. Resources - Header files, library files and other files you need in process of compilation of your sources. There are three types you can upload on the “Files” tab. Note that there are no samples because we didn’t add any sample tests or solutions yet. ![]() Files - You can add any file you want to use in the statement usually images.Īfter filling the fields, We can review the problem in LaTeX, HTML or PDF.Notes - They appear under the sample tests, maybe description of the samples or some other definitions not mentioned in the Legend.Output format - Description of how you should print the output.Input format - This field includes description of how the input is given.Legend - Here you write the problem description.You can find several fields, this fields are: Problem statements are written using LaTeX. You can choose the language and create the statement. Let’s chose English and hit create. StatementsĮvery problem needs at least one statement, Polygon supports multiply languages statements for problem. We will not change these values as the default values are suitable for our problems. Statement and Tutorial sketch - Short description.Interactive - Used with interactive problems.Memory limit - Memory limit in megabytes.Time limit - Time limit per test in milliseconds.Output file - Output file name or “stdout” in case of standard output. ![]() Input file - Input file name or “stdin” in case of standard input.This tab contains information about the problem, this includes: There are many things to do here, we will go by them one by one, but first let’s start with the General Info tab. This image contains the Create Problem Form.Īfter hitting Create you will get something like the image, to start edit session let’s click on Start. Problem name must contain lowercased words, separated by dash. Create the problemĪfter making an account on polygon, the first thing you need to do is to create the problem, This can be done by clicking the New Problem link in the homepage, You will be asked to provide a problem name. It’s guaranteed that the array contain at least one prime number.Ĭonstraints: \(1 \le n \le 10^3\), \(1 \le A_i \le 10^3\). Given an array of \(n\) integers, you should print any prime number in the array. I think the best way to explain everything is by giving a problem and going through all development process, so let’s start with this simple problem. You can read more about testlib from Codeforces blogs. Many contests are prepared by using testlib.h, All-Russian school olympiads, ACM-ICPC regional contests, all Codeforces round and many others. Polygon uses testlib.h in problem creation, This library is a standard solution in a professional community of problemsetters in Russia and several other countries. Model solutions (including correct and wittingly incorrect). ![]() Test data preparing (generators supported).Polygon supports the whole development cycle: According to Polygon itself, The mission of Polygon is to provide platform for creation of programming contest problems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |