NaimSS's blog

By NaimSS, history, 5 months ago, In English

I am getting the following error when trying to build my contest: Contest "statements.ftl" doesn't contain '\usepackage {xparse}', but problem X does.

Has someone already encountered such an issue? I have no idea why this is happening, because it is a very standard statement, written in Portuguese.

I have other problems and they seem to work just fine. I even tried to delete the statement and re-write but the issue persisted even for a blank statement!

I would appreciate any help, thanks!

Full text and comments »

  • Vote: I like it
  • +15
  • Vote: I do not like it

By NaimSS, history, 16 months ago, In English

Yesterday was the UNICAMP Selection Contest and it is now available to everyone! Statements are available in Portuguese and English and editorial is available in Portuguese.

I would like to thank the organization team from UNICAMP Fábio Usberti (bituser) and Tiago Domingos (tdas), our testers Dranoel321, emaneru, Leonardo_Paes, LoboLobo, Luca, MvKaio, nathan_luiz and perchuts, and LoboLobo for coming with the idea for problem H — "Team Division".

Congratulations for our top 3 winners:

  1. defnotmee

  2. enzopsm

  3. luiz_oda

The contest was done in memorial of Technoblade, legendary Minecraft Youtuber, so he will appear in a lot of the problems. I hope you enjoy, and remember, TechnobladeNeverDies!

 Source

Link to the contest: UNICAMP Selection Contest 2023.

Editorial is available in the Contest material.

Full text and comments »

  • Vote: I like it
  • +89
  • Vote: I do not like it

By NaimSS, history, 18 months ago, In English

Last week we had a local Contest available here (statements only in portuguese), and I was surprised when the easiest problem was getting a lot of Wrong Answers on test 1. All of them seemed correct, gave the correct output locally and were using GNU C11. For some reason, re-submitting the same code in GNU C++ gave AC. Why?

Problem Statement

Given the formula of gravitational attraction $$$F = \frac{G\cdot M_1 \cdot M_ 2}{d^2}$$$, find the value of $$$G$$$ given the mass of the 2 objects, the force and their positions on space (which is only a line).

The code

WA on 1

AC

After seeing this, I made an announcement for people to submit their problem using GNU C++ and a ton of AC came in... as a setter I was frustrated by such a bug and want to know why that happened :(

Full text and comments »

  • Vote: I like it
  • +7
  • Vote: I do not like it