FAQ | codeground Community | codeground


Codeground recommends using Chrome, Internet Explorer 10 or higher for better access to and use of our website.
Click “Tools > Compatibility View Settings > Compatibility View” and select “Display intranet sites in Compatibility View” for the Internet Explorer compatibility.

Yes, it is. You can write source codes in another tool and paste them into the Codeground system.
However, there might be an error in your source codes, which did not or does not appear in your development tool, when you run them in the Codeground system because of discrepancy in compile versions or setting options.
Codeground does not let you know of compiling methods or setting options of other tools, so please be well aware of your tool of choice.
For some compiling and setting cases, you may refer to the followings.

You can only use C, C++, Java, Python and C#, and the followings are the version for each language:
C: gcc-10.2.0
C++ : gcc-10.2.0
Java: java-1.8.0_282
Python : python-3.6.1 and
C# : mono-
For gcc, -O2 option is applied. We also support C++11, C++14, C++17 and C++20.
Your submitted source codes must be compiled in the respective compile version and run in Windows or Linux.

You are only allowed to use standard libraries for each language and there might be limitation on standard libraries not relevant to problems or system related functions in use.

In addition, you are not allowed to use external libraries or libraries prepared in advance.

Yes, it is. Source codes displayed when you select a language is provided for the contestant’s convenience,
so you can modify them at your own discretion or submit your own source codes after deleting them.

You can use “compile” and “submit” as many as you’d likein case of practicingproblems;
however, your use of the Codeground system may be limited if you use “compile” or “submit”indiscreetlyor repeatedly or if you submit your solutions by deliberately including source codes which might cause system overload.

There might be limitation on submissions for certain types of problems in the SCPC online rounds or onsite final. (No limitation on compiling)

Each problem on our website is limited in heap memory size, which is ranging from 64 MB to 512 MB.
Stack is fixed to 1 MB.

Among memory areas allocated when running a program, stack is an area where local variables and parameters are saved while heap area is to manage dynamic variables created through dynamic allocation.
Please refer to the information mentioned above when solving problems.

We provide the setbuf function to resolve the situation where partial points are not granted due to buffering caused by timeout while executing codes written in C language.
In case of C++, there is no above-mentioned issue because it is initially set to avoid print buffering when using cout.
You are required to call setbuf(stdout, NULL) if you select C++ and use a C-style printf.

It is not permitted to declare a package as it causes a runtime error.

You can download the sample_input.txt file provided in each problem, or make your own.
For reading data from a file, you may refer to source codes provided in each problem, or you my learn about file input/output in advance.

Right click on the project created in “Solution Explorer” in Visual Studio and configure as below:
Properties > Configuration Properties > Linker > System
Select “Console” in “Sub System”
* Please note that the answer is prepared for Visual Studio 2013 users, so it may vary per version.

When creating an empty project in Visual Studio, the project must be created with “Console Application.”
You have to disable the Security Development Lifecycle check at the same time.
* Please note that the answer is prepared for Visual Studio 2013 users, so it may vary per version.

If you encounter “error C4996” in Visual Studio, please do as follows:
- Right click on Project Tree on your right side and select Properties;
- Select Configuration Properties and C++;
- Select “Edit” in Preprocessor Definitions in Preprocessor and add “CRT_SECURE_NO_WARNINGS” to the Preprocessor definitions.
* Please note that the answer is prepared for Visual Studio 2013 users, so it may vary per version.

SCPC has only individual contests and no team contests.
Therefore dialog or information-sharing with other people on/off-line are deemed to be cheating. Please solve the problems using your competence alone.
Refer to Q6, Q7 for details on other acts defined as cheating.

Students who are enrolled in or on leave of absence from institutes of higher learning issuing associate/bachelor/master’s/doctorate degrees in and outside of Korea as recognized by the government of the Republic of Korea (colleges, universities, graduate schools) (as of Jun 23, 2018) may participate regardless of major, degree level, year, or nationality.
However, if you graduate and receive your degree during the contest period you may participate only in the contests before your graduation.

The online rounds 1 & 2 are operated online, and the onsite final is operated offline.
The results of each contest may be checked by logging in using your ID and if you pass all rounds you qualify to participate in the round/final after that.

The online round 1 & 2 do not separately check identity.
When you advance into the onsite final you must submit ID (1 among resident registration card, driver’s license, or passport) and certificates of enrollment or leave of absence issued within one month before the contest. (Student ID is not accepted)
In cases of false submission of your personal information or they do not qualify you to take part, you may be disqualified or your award cancelled.

The “online rounds 1 & 2” and “onsite final” decide the ranking and award-winners using the criteria shown below.
① Scorers with a high total score
② High scorers with priority on the weighting of each score. The higher the scores per problem, the sooner the submission the better.
③ Those with fewer submissions in the order of problems with heavy weighting (however, this is restricted only to cases where are scores given)
④ Those who submitted solutions sooner in the order of questions with high weighting
⑤ Based on the start time of the contest those who submitted the last problem sooner than others
In the onsite final, scores are higher in the order of those who submitted problems with priority given to questions with high weighting the fastest since opening the problems to the contestants

※ The score the contestant checks immediately following the submission of solutions is a provisional score, and the final score may be checked on the date of the online rounds 1 & 2 results announcement.

When the “banned activities” are checked they are deemed to be cheating and the contestant’s open round results are all cancelled.
And when there are impediments to the effective operations of the contest due to cheating we reserve the right to take legal measures and claim compensation for direct/indirect damages.
- Making public or leaking on/off-line algorithms, solutions and source codes of the problems or those related to problems
- Conversing with others on/off-line on algorithms, solutions, and source codes on the problems and related to problems
- Searching and asking on/off-line on algorithms, solutions, and source codes on and related to the problems
- Providing or getting provided from others on the problems and/or source codes
- Copying and submitting all or part of source codes prepared by others
- Someone else competing in the contest pretending to be the declared contestant
- Providing the contestant’s ID and password to others or exposing them on/off-line
- One person competing in the contest using multiple IDs
- Obstructing the participation of others in the contest
- Obstructing the normal operations of the SCPC system, attacking or hacking into the system
- Other activities that may be generally deemed to be cheating

In addition to the activities banned in the online round 1 & 2 (Refer to Q6) or referring to books or searching on the Internet or using mobile phones or telecommunications/electronic devices are deemed to be cheating.
Contestants violating these bans will be made to leave the room immediately.
When they are discovered after the contest has ended awards will be cancelled.

Depending on the contest results there may be merit awarded in the recruitment process to high scorers.

It is as set forth in the Enforcement Degree of the Income Tax Act Article 87 Calculation of Necessary Expenses for Other Income.

Competing in the SCPC using multiple IDs is deemed to be cheating.

Most of the instances when the authentication e-mail does not arrive are due to erroneous entry of your e-mail address.
Request deletion of your erroneously entered ID and register again using your accurate e-mail address.

Where can I get a new authentication e-mail?
You can re-verify using the Find ID button on the login page.

The special characters permitted for use in your password are restricted to ! @ # $ % ^ & * _ - and consecutive series of numbers and letters are not allowed and the same numbers or letters cannot be used three or more times in one ID or password respectively.

In the “Contact Us” menu on the upper part of the screen enter your ID, nickname, and telephone number to individually inquire.

You can get information on participating in the event or contest schedule.
In particular we check in person if you intend to compete before the onsite final.

The submitted source code belongs to the contestant.
However contestants are required to not leak to outside of Samsung the problems set forth in the contest.

Obstruction of the normal operations of the relevant systems (indiscriminate or steady/repeated use of “compile” and/or “submit” are included)
Attackers or hackers into the system are immediately restricted from using the system and we reserve the right to take legal measures or claim compensation for damages.