The 2025 edition of the first international junior Olympiad of the year, Info1Cup is starting today with its competition days taking place tomorrow and on Sunday, so let's use this blog to talk about the contest days and their problems after the contest days are over.
You can also write the Codeforces handles of the participants and maybe even predict potential winners or high performers.
After the contest days, let's also discuss the problems here.
Good luck to all participants!
UPD1: Day 1 results are here
UPD2: There will be online mirrors on Kilonova, and they will be available starting on Monday, until Friday evening:
UPD3: The final results are here, huge congrats to Issatay Ismagzi for his win, representing Kazakhstan! Congratulations to everyone else who won medals and took part in the contest!








raduv will win info cup!
raduv will win info(1)cup!
LucaLucaM will win this year's info(1)cup!!
HoriaB will win info1cup!
Pekiban will win info(1)cup!
Pekiban orz will win info(1)cup!
Octagons WILL WIN INFO(1)CUP!!
orz only 100 on Problem 6
The only 100 i got though :)
But the hardest :)
Sorry for not meeting your expectations :)
HoriaB will win info1cup!!!!
Wansur will win
tourist will DEMOLISH info cup!
rolandpetrean will win info1cup 2025!
farkon00 will win infocup2025
I'll do my best in order to make this untrue.
Fikrat_Asadzadeh, Hasanv, rahidilbayramli, coolboy19521 will win Info(1)Cup! Let's go guys! You are the best!
Wansur will win info1cup!
rolandpetrean will win info(1) cup
ez win for [user:Hasanv][user:rahidilbayramli][user:coolboy19521][user:Fikrat_Asadzadeh]
Will there be an online mirror?
Hi stefdasca, where/when will be the mirror? Register action not working on site.
Baraa-Ahmed will win infocup
Akeed ya3ny mesh m7taga
Imposter!!!
No champ Only medal :cry:
JahonaliX
If_I_lose_it_all will win Info1Cup!
Bro, you are Aldk, not me
Aldk will win Info1Cup!
Day1 finished, is leaderboard available?
Auto comment: topic has been updated by stefdasca (previous revision, new revision, compare).
Lmao Syria did really bad
why? they are at top but from the bottom
Last year I was top but from the top
hey kostka you missed this announcement, stefdasca was faster this time.
what?
congratulations to the winner with 508 point!!!
Issatay Ismagzi is_i!
absolute cinema
congratulations kanye east!!! good morning ooouoiuiooououo
Thanks!
I feel bad for Akhmed ;(
1-800 Akhmed's account
Such cool account handles :)
Where is the leaderboard?
here
How many participants will be awarded?
how to solve day2B and day2C
For day2B, let's look at the equation:
a[1] + a[2] + .. + a[K] = NNotice that all the elements are divisible by
a[1], soNmust be divisible bya[1]. LetN = a[1] * x.Divide the equation by
a[1]:1 + a[2] / a[1] + a[3] / a[1] + .. + a[K] / a[1] = N / a[1]Let
b[i] = a[i+1] / a[1]forifrom1toK-1.b[1] + b[2] + .. + b[K-1] = x-1Notice that this equation is the same thing but with different N and smaller K.
Now let
dp[N][K]be the number of ways to make the sum N out of at most K terms.We have
dp[N][K] = dp[N][K-1] + sum(dp[x-1][K-1]), wherexcan be any divisor ofN, includingN.Now, notice that we do not need the
Kdimension, because we need to get the sum of alldp[N][K](for a fixedN, of course) and we do not care how largeKis.So we have an even more simplifed recurrence:
dp[N] = sum(dp[x-1]), wherexis a divisor ofN. This can be computed easily using a sieve.Can anyone explain how to solve ModuloSum for 100?
I tried sqrt decomposition by modulos, where for small M I solve using prefix sums and for big M,
for each Ai I find all numbers >= cutoff where floor(Ai / x) changes, then I answer queries using sweep line. Sadly, this works only for 58.
You are doing the right thing, but at sweep line you need to have a DS that solves the prefix queries in O(1). You can use SQRT Decomposition.
Here is my submission.
Thanks for the answer, aprreciate it.
Btw, I solved the task yesterday.
I think you can divide the problem into finding the sum in a range of numbers smaller than M and sum of numbers over M to do that you can process queries in offline by sorting the queries in decreasing order of M