Блог пользователя chokudai

Автор chokudai, история, 3 года назад, По-английски

We will hold Tokio Marine & Nichido Fire Insurance Programming Contest 2023(AtCoder Beginner Contest 304).

The point values will be 100-200-300-400-475-525-625-625. We are looking forward to your participation!

  • Проголосовать: нравится
  • +20
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
← Rev. 3  
Проголосовать: нравится +13 Проголосовать: не нравится

Is there a long queue now? 30 minutes passed and my submission is still waiting for judging.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +12 Проголосовать: не нравится

Don't DDoS AtCoder Please !!! Please !!! Please !!!

»
3 года назад, скрыть # |
 
Проголосовать: нравится +22 Проголосовать: не нравится

so much long queue :(

is there any issue with the judge? my solution to D is judging for 15mins, yet not started!

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

What happened to the queue? Waiting for my results on F...

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Mine has been waiting for 20 mins.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

It was difficult to connect AtCoder until 21:06(JST), so I could't reach rated.

»
3 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +5 Проголосовать: не нравится

extended by 20 minutes

»
3 года назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Extended time!

»
3 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +10 Проголосовать: не нравится

How does extending the contest time helps with WJ?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

what's the point of extending time when solutions are still not judged?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

wait if solutions are still taking a lot of time to judge how will extending contest time help? isn't the damage already done?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +20 Проголосовать: не нравится

In such cases, at least do 1 optimisation that if on any test case verdict is not AC, then don't judge the further test cases

This will take way less time and avoid such a long queue.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

Will today's contest become unrated?This evaluation speed has had an impact on me with a score of 114514.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Does problem D require some particular Algo/data structure? I thought about a binary search sol but would have been too slow in the end. Any hints?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +24 Проголосовать: не нравится

This contest is a compensation for the unrated ABC299.

»
3 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится
Spoiler

What's wrong in this code? Please can someone help!

»
3 года назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

Problem G is interesting and the solution is reminiscent of Codeforces 1616H Keep XOR Low. Thanks!

»
3 года назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

I learned a lot from editorial of problem F. Thanks to the problem writers. Here is my solution, which is a little different from the editorial.

For example, if n=12, then we should consider t=1,2,3,4,6. But, in fact we don't need consider t=1,2,3, since for t=1,2, all the results must be included in t=4, while for t=3, they must be included in t=6. Therefore, it is enough to only consider t=4,6. In general, assuming that n has prime divisors, p1,p2,...,pk, we only need consider n/p1,n/p2,..,n/pk. Moreover, integers <=1e5 have at most k=6 distinct prime divisors.

Next, we could use the inclusion-exclusion principle to solve it. Assume that d1=n/p1,d2=n/p2,..,dk=n/pk, then the final answer is f(d1)+f(d2)+...+(-1)*f(gcd(d1,d2))+(-1)*f(gcd(d1,d3))+..+f(gcd(d1,d2,d3))+...

The total complexity is O(2^k*n).

»
3 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

It turns out that one of my AC submissions on problem D is wrong, and it fails on the following test.

test

Is it still possible to add any test now? If yes,can you add it?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Are ratings updated for ABC 304 ?