Блог пользователя Error_Yuan

Автор Error_Yuan, история, 5 месяцев назад, По-английски

UPD: (From MatrixGroup) To copy Markdown for discuss and articles, you can:

For discuss, use the code:

console.log(_feInstance.currentData.post.content); 

For articles, use:

console.log(JSON.parse(document.getElementById('lentille-context').innerText).data.article.content);

Luogu is a famous OJ (Online Judge) in China. Many users of Codeforces may know it, but don't know how to participate contests on Luogu. So I'm writing this blog to offer a brief tutorial.

I suppose that you do not have a Luogu account, so let's start from registering.

Step 1. Create An Account

Enter the site: link

Here is the English translation for this page.

You need to fill in:

  • username,
  • password (and confirm),
  • the secret code in the picture,
  • your email, (and click the "send verification code" button)
  • check your email, and enter the verification code.

Step 2. Login

If you do not login automatically, you need to login in your own.

Enter the site: link

If you logged in successfully, return to the home page https://www.luogu.com.cn/ and you will see:

in the top-right corner.

Step 3. Register for the Contest

The home page of Luogu looks like this:

After entering the contest page, you should click the register button.

Step 4. In contest

During the contest, you can view the problem list and solve problems. Most of Luogu contests do not offer English statements, so it is recommended to use chatGPT to translate it. You can click the "copy Markdown" button in the problem page.

If the authors do provide English statements, they are likely to post an annoucement on Codeforces.

  • Проголосовать: нравится
  • +195
  • Проголосовать: не нравится

»
5 месяцев назад, # |
  Проголосовать: нравится +106 Проголосовать: не нравится

It's a great tutorial.

Please note that due to relevant laws and policies in mainland China, only phone numbers with the +86 area code can be used to post discussion threads on Luogu. We are working on establishing an international platform to circumvent this restriction, but this will take some time.

»
5 месяцев назад, # |
  Проголосовать: нравится -11 Проголосовать: не нравится

This is good news.

Unfortunately, just as Chinese mobile phone numbers (+86) are prohibited from use on many websites, many Chinese websites can only use mainland China mobile phone numbers (+86).

»
5 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Unfortunately, using some functions need your verification by your mobile number of mainland China. But the problemset and contest can be used without verification.

»
5 месяцев назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

Actually green means future and blue means active.

»
5 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

What is the system of contests on Luogu? Can anyone make a contest and add it? Or there are certain contests with rating and stuff (like here).

  • »
    »
    5 месяцев назад, # ^ |
    Rev. 4   Проголосовать: нравится +26 Проголосовать: не нравится

    Anyone can create a contest but only contests after coordination ( so-called open contests ) can be shown to everyone on the main page. Actually, the coordination is very weak. Rated contests have stronger coordination and official ones have even stronger coordination. Note that you do not need to be an admin to hold an official contest though. However, there are also unrated contests with good problems, so please check them by yourself.

    To make the coordination simpler, everyone involved in an open contest ( including exactly one responsible person, writers, testers and other people in the group ) should have an OI ( Olympiad in Informatics ) level of at least 3. Only specific contests held by CCF ( China Computer Federation ) ( mostly onsite ) are counted. For a rated contest, the responsible person should have an OI level of at least 7 and writers should have an OI level of at least 5.

    About OI levels

    For more specific information, please refer to Open Contest Standard and Official Contest Standard. (Chinese)

    • »
      »
      »
      3 месяца назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      Note: there can be more than one responsible person, but only the marked one will be contacted. In a personal open contest, the writer, and in a group open contest, the group owner is, if not marked, responsible as well.

    • »
      »
      »
      2 месяца назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      In fact,if you're an ACMer,you can find the luogu admins to proof yourself.

»
5 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

anyone make a script that is like codeforces better?

»
5 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

You are right, but there is a typo.

"If you logged in successfully, return to the home page https://luogu.com.cn/ and you will see:"

The correct sentence should be:

"If you logged in successfully, return to the home page https://www.luogu.com.cn/ and you will see:"

»
4 месяца назад, # |
Rev. 2   Проголосовать: нравится -34 Проголосовать: не нравится

My account number is 743373,Seeking attention(Click "+关注")

»
4 месяца назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится

Does register button only open, when contenst is running ?

Edit: Found the Resgiter Button, it was moved to other positon because of website Translation Extension.

»
4 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How to create a contest in Luogu?

»
4 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

i tried registering, it doesn't send me email for otp

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

But now the article section of Luogu has been updated, so the console code cannot work properly.

@chen_zhe

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How do we view the editorial?

  • »
    »
    3 месяца назад, # ^ |
    Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

    In the task statement page, if there is a red button, click it to exit the "contest mode".

    Then there is "solution" button.

    The solutions are usually provided by users and written in Chinese, so you may need use translate tools.

»
3 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

why this not look programming website but a travelling website like agoda

»
2 месяца назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

English statement will be provided in every Div. 3 now.

»
7 недель назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Really useful!I like the problem difficulty's and the testpoint's colors.

Visit here,this contest is all in English,

hope you have fun:)