Hello, Codeforces.
I have implemented automatic translation of problem statements in Polygon (yes, yes, through ChatGPT). Here's an example of how to use it:
Suppose we have a problem statement only in Russian and we want to have it in English as well.
Create an empty problem statement in English.
Go to the bottom of the problem statement and click on "Add automatic translation."
In the popup window, you can choose the original language for translation (we only have Russian, so there's nothing to choose) and the section of the problem statement to translate (by default, it usually selects the appropriate option — translate everything).
Click the "Translate" button.
Wait for ChatGPT to translate the text (it may take up to a couple of minutes).
When the translation is ready, it will be loaded into the popup window.
Click "Save Translation."
Done.
Remember to proofread the statement yourself. Although it's a quality machine translation, it's still a machine translation.
One useful thing to note is that this method of translation miraculously preserves most of the LaTeX markup.
When using it, remember that the API is not free. I have set quotas, and if they are exceeded, I will have to turn off the feature. I hope this doesn't happen.
There are a few more ideas on how to use ChatGPT for peaceful purposes. Don't go too far.
Thank you thank you thank you
Has someone tried translating using chatGPT before? I sure do hope it's not as cursed as google translate...
In my experience it's pretty great. The translations are better than what you usually get on Google Translate or DeepL and you can be very specific. (Like saying "don't translate this word" or "use this kind of language")
can you also add a button to generate solution into submit page, pls
I have a feature idea (Not related to Chat-GPT)
I was giving virtuals for a few weeks now. Around 25% of the contests, I face some problems which I have mind-solved before or maybe read it. It's very frustrating when it is one of the hard ones.
So maybe some marker, which would help to mark the problems as mind-solved or read? It would also be very useful to avoid problems while practicing.
Don't be lazy, implement the solutions when you mind-solve them!
I usually just resubmit an existing AC solution whenever I solve it in theory, that way it gets picked up by TLE bot and skipped when I request new problems or virtuals
I think you can enable us to use our own API
Your kindness is greatly appreciated.
thank you!
Thank you
I bet the next things are the validators, checkers, and generators
That's great, it will save so much time!
It would also be wonderful if the users can switch through the languages when they are presented with the problems. A few weeks ago, I organized a contest on my faculty with my own problems, but because of the rules on the faculty, the tasks had to be in Slovene. So, because of this limitation, I wrote the Slovene statements in the "English" tab and the English statements in the "Slovene" tab. This way, the Slovene statements were "default" and I only exported the English as .pdf file.
Adding such a language chooser would be greatly appreciated by many! Thank you.
Fantastic feature! Thank you!
У меня что-то перевод не работает, точнее минут 30 уже пишет что please wait. Это просто на сервере что-то багуется, или у меня проблема какая-то? MikeMirzayanov
наверное много людей пробует функцию.
Попробуйте еще раз, кое-что фиксанул.
Все работает! Очень круто!
Столкнулся с такой же проблемой. Зависает на этапе please wait.
How about using ChatGPT to convert long problem statements into short problem statements or remove stories?
I prefer the stories to none and its a skill to be able to abstract it yourself as well. That's my opinion at least.
ChatGPT is not good at all at understanding underlying complex abstract concepts of the tasks, so probably it'll remove a lot of important stuff, it's even highlighted in "sparks of agi" paper where they compare how well chatgpt and gpt4 actually understand several math problems and evaluate their solution reasoning. gpt4 is much better for such use case, but it's not available for public for now.
I don't know how Codeforces has implemented it in the backend but gpt4 is available through the openai api. https://platform.openai.com/docs/guides/chat
It's in limited beta though https://platform.openai.com/docs/models/gpt-4 Although it's possible that Codeforces was granted an early access.
thank you sir
I don't know if you're aware of this but this is prone to prompt injection attacks
https://imgur.com/a/N5IzgoM
Of course, I am aware of such a possibility. If I notice any abuses of the system, I will ban a user and/or impose strict quotas. It seems that if you really want to send a request to ChatGPT, you should open its website and do it there.
Finally no и in place of and
Не думал, что мы доживём до такого
will chatgpt learn about the problem and give it away before the contest?
MikeMirzayanov Уже часа три пишет что please wait. А этот сервис в рабочем состоянии?