When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

Andrei1998's blog

By Andrei1998, history, 6 years ago, In English

The Balkan Olympiad in Informatics 2018 (BOI 2018) takes place between the 7th and 13th of July 2018, in Timisoara, Romania.

The official site of the competition can be found here.

Let's discuss the tasks after each contest day.

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

»
6 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Can you provide tasks from 7th july ?

  • »
    »
    6 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Tomorrow is the first day of competitions, both for junior and senior teams.

»
6 years ago, # |
  Vote: I like it +21 Vote: I do not like it

Will there be a mirror?

»
6 years ago, # |
  Vote: I like it +9 Vote: I do not like it

Will there be live standings at least?

»
6 years ago, # |
  Vote: I like it +14 Vote: I do not like it

Competition must have started, does anybody have a clue if there will be a livescore? Can't find any on the website.

»
6 years ago, # |
  Vote: I like it +8 Vote: I do not like it

What about JBOI results, can somebody post those?

»
6 years ago, # |
  Vote: I like it +17 Vote: I do not like it
»
6 years ago, # |
  Vote: I like it +19 Vote: I do not like it

You can also see the standings in the link i provided above.

»
6 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Can you share JBOI tasks, please?

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +5 Vote: I do not like it
    1. Given N and K, find sum of all the numbers strictly less than N having exactly K ones in its binary representation. N <= 10^15

    2. Given N, find sum as an irreducible fraction . Output P and Q.

    3. Given a set of N <= 10^5 non-intersecting (and non-overlapping) rectangles with sides parallel to coordinate axes, and having coordinates between 1 and 10^6, answer Q <= 10^5 queries of kind: Find the sum of the lengths of intersections of a ray with every rectangle in the set, where every ray is starting from some point at x-axis and forming an angle of 45 degrees, 90 degrees, or 135 degrees with x-axis.

»
6 years ago, # |
Rev. 3   Vote: I like it +8 Vote: I do not like it
»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

There are people from Turkmenistan in the results table. But Turlmenistan isn't a Balkan Region country.

How other countries (not from Balkan region can participate in this contest)?

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +9 Vote: I do not like it

    Look at the rules, they can be invited but they aren't official participants IIRC.

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    This year they wrote to the organizing committee, and this is what any country can do in any year. BOI (as well as CEOI, from what I know) is open to inviting new countries, only that they are considered unofficially

»
6 years ago, # |
Rev. 2   Vote: I like it +14 Vote: I do not like it

What happened to Turkish team? They're in the participant list but none of them in standings.

  • »
    »
    6 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Our team's leaders' passport issuances were delayed due to bureaucratic reasons. So sadly we couldn't attend this year's Balkan Olympiad.

»
6 years ago, # |
  Vote: I like it +21 Vote: I do not like it

Does anyone know of a judge where you can submit the problems which have a special checker (minmax tree for example)?

And have the official checkers been published?

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +18 Vote: I do not like it

    They haven't been posted on the official website, but we don't mind sharing them with anybody who wants to add them to an online judge.

    • »
      »
      »
      6 years ago, # ^ |
      Rev. 2   Vote: I like it +13 Vote: I do not like it

      And I spend almost an hour yesterday writing my own checker :/

    • »
      »
      »
      6 years ago, # ^ |
      Rev. 2   Vote: I like it +9 Vote: I do not like it

      Why not make them public? It would be a great help. Because we had an idea of simulating the competition but nobody wanted to write the checker :D

    • »
      »
      »
      6 years ago, # ^ |
        Vote: I like it +8 Vote: I do not like it

      I have a question: the tests for the task popa seems obfuscated. Can you provide testcases in a normal format or tell us how we can extract them ourselves?

      • »
        »
        »
        »
        6 years ago, # ^ |
          Vote: I like it +10 Vote: I do not like it

        I didn't write the grader, but afaik the format of the grader is:

        Maximum number of queries per test
        Number of tests (usually 5)
        Test 1
        Test 2
        ...
        Test 5
        

        Each of the tests is described as follows:

        N X
        exp1[1] exp1[2] ... exp1[N]
        exp2[1] exp2[2] ... exp2[N]
        ...
        expX[1] expX[2] ... expX[N]
        

        Where X is the number of prime factors of the numbers (usually around 10). S is then given by:

        S[1] = 2exp1[1]·3exp2[1]·5exp3[1]·...

        S[2] = 2exp1[2]·3exp2[2]·5exp3[2]·...

        And so on.

        • »
          »
          »
          »
          »
          6 years ago, # ^ |
            Vote: I like it +10 Vote: I do not like it

          Thanks! It works with one exception:

          S[i] = 21000000 - exp1[1]·31000000 - exp2[1]·...

          for some reason :P

          • »
            »
            »
            »
            »
            »
            6 years ago, # ^ |
            Rev. 3   Vote: I like it +20 Vote: I do not like it

            The input is as Andrei1998 said. It is not necessarly to think it as gcd. There could be lcm or other such operation as well.

            An index i can be the father of index j if:
            
            exp1[i] >= exp1[j]
            exp2[i] >= exp2[j]
            ...
            expX[i] >= expX[j]
            
            This is the only thing the grader is based on.
            

            I will upload the grader to the BOI official website shortly.

»
6 years ago, # |
  Vote: I like it +4 Vote: I do not like it

How many contestants won a medal?

  • »
    »
    6 years ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    The only information I have at the moment is that at least 22 participants (including the unofficial participants) won a medal in the JBOI. The ceremony was held, yet there are no final standings with medals on the site.

»
6 years ago, # |
  Vote: I like it +27 Vote: I do not like it

You can submit all the problems from BOI 2018 here: https://oj.uz/problems/source/352

Since checkers, interactors and graders are entirely written by us, they could contain some bugs. If you spot one of them (if they exist :p), please notify us :D

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Andrei1998 (previous revision, new revision, compare).