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

Автор hiddentesla, 6 лет назад, По-английски

Hello Codeforces Community. I would like to invite you all for ICPC Indonesia COMPFEST 12 Multi-Provincial Contest Online Mirror. I am the Person In Charge of the event.

compfestlogo

I want to thank:

The online mirror will be held on , 3 hours after the official contest starts. Teams are allowed. The duration of the contest is 5 hours. For the official contestants, please refrain from joining this mirror contest.

Our problems are relatively easier than ICPC regional contests. However, we promise an interesting and diverse problem set. I'd say the overall difficulty is slightly more challenging than div two rounds. There might be an interactive problem. So make sure to familiarize yourself

About COMPFEST: COMPFEST is an annual event hosted by the University of Indonesia. It is the largest student-run IT event in Indonesia, and Competitive Programming Contest (CPC COMPFEST) is one of the competitions hosted.

Our contest on regional finder

Note: this contest is unrated.

UPD1: Editorial and contest review will be posted in a few hours, after we finish the official contest duty.

UPD2: Editorial is available here

Congratulations to the winners!

  1. Extra Registration (LJC00118, xay5421, Sulfox)

  2. jiangly

  3. Bajetii (theodor.moroianu, freak93, bicsi)

  4. 未来ガジェット研究所 (wasa855, frame233, memset0c)

  5. QAQAutoMaton

  6. wlzhouzhuan

  7. 2016wudi fan club (ChthollyNotaSeniorious, leukocyte, Cirno_9baka)

  8. wucstdio

  9. Sugar_fan

  10. Teams Are For The Weak (IceKnight1093)

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

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

can I participate without team?

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

How many members in a team are allowed?

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

rip im 20 years too late

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

here link is wrong.

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

Will there be any editorial for this contest?

Thanks

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

I am eager to participate !!

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

How do you participate as a team?? could anyone walk me through the process it's my first time participating as a team.

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

Will we be able to see the live standings?

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

th level?

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

Have a feeling that this contest would be pretty interesting!

Also great to see "There might be an interactive problem. So make sure to familiarize yourself" such notification before the contest. I was clueless when I first saw an interactive problem a couple of contests back.

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

Will problems be sorted depending on the difficulty like normal CF rounds?

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

How many question will be set on the dashboard?

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

Will this year's INC be running a mirror on CF as well?

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

Nvm it'll be great :)

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

CAN I USE C++ THIS CONTEST??

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

Are contestants allowed to copy-paste code from their library or search things on the Internet during the contest?

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

will there be any rewards for the toppers of this contest?

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

will tutorial be available after contest??

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

Неответственно обвинять других в своих ошибках, так что, пожалуйста, верните мне мой рейтинг.

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

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

Nice problemset! Enjoyed a lot!

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

How to solve E :|

  • »
    »
    6 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +6 Проголосовать: не нравится
    Hints for problem E
    Code
»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Any edge cases for test case 19 in D??

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

We will release the editorial and contest review in a few hours. right now we are so tired from nonstop supervision of contests. Sorry about the unexpected difficulty jump :( we intended B to be a medium dynamic programming problem.

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

hiddentesla Can we participate in the contest virtually?

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

Now contest is over,but why can't I read the problems?

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

In Problem B, I think it's not very nice to mention "every checkpoint except checkpoint 1 has exactly two routes connecting it" only in the input section , since it is quite important leading to the solution :(

BTW I've spent about an hour to write&debug my B but in vain :(

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

How to solve I?

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

Weak tests for problem G XD

My program outputs lolos for case :

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

When or where will the editorial be published for this contest?

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

problem C

detected an integer overflow error at the 154th line of the problem setter's submission:

intmod c(int K) {
	return a(3*K/2)-b(K/2);
}

K can be up to $$${10}^9$$$ so 3*K will cause overflow

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

how to solve D?

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

Is there any solution?

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

Can someone help me find bug in my solution for Question D? During contest, I got wrong answer on test case 9. I tried upsolving later but couldn't find the bug.

Link to the submission : https://mirror.codeforces.com/contest/1425/submission/93937461

General Idea : So the idea is to count the total number of strategies in which a & b both occur together. Let's assume they occur in X number of different strategies. Then we can add X * (2ab) to our answer (calculating a^2 is trivial and can be handled separately). Now in order to calculate X, we can consider the bounding box for a & b and then count the number of snakes in their intersection, union, and rest and can use combinatorics to calculate the answer. Please refer the code.

Can someone please explain the bug in my code?