Comments
On cryCodeforces Round 1003 (Div. 4), 16 months ago
+12

GPT solved Round 1003 H (https://mirror.codeforces.com/contest/2065/problem/H).

I am sharing this code in the hope that it will help in detecting cheaters.

This is my ChatGPT log.

https://chatgpt.com/c/67a8d934-fa04-8005-bd69-36dd034fc7e1

My query was just only 2 steps.

1) copy & paste the whole context of the problem, and add one sentence.

I added by korean : 이거 조합론 문제같은데 어떤 아이디어가 좋을까?

In english it means : It looks like a combinations problems. Which Idea may be best?

2) GPT found all observations. (How to count the answer, How make the Solution efficiently from O(n^2) to O(nlogn) ) So I gave GPT my template code and just said, "Can you implement your code in this template?"

And GPT's Answer got AC. (AC code : https://mirror.codeforces.com/contest/2065/submission/305350099)

To avoid causing confusion on the scoreboard, I submitted the code after the competition ended. However, I was able to obtain this code before the competition ended and did not modify a single character.