Hi. BOI (Baltic Olympiad in Informatics) will be held on Thursday and Friday. I just learnt that organizers provide possibility of participation in an online mirror of that contest. Enjoy: https://sio2.mimuw.edu.pl/en/c/boi2015-online/dashboard/ !

# | User | Rating |
---|---|---|

1 | Benq | 3783 |

2 | jiangly | 3666 |

3 | tourist | 3611 |

4 | Um_nik | 3536 |

5 | inaFSTream | 3477 |

6 | fantasy | 3468 |

7 | maroonrk | 3464 |

8 | QAQAutoMaton | 3428 |

9 | ecnerwala | 3427 |

10 | Ormlis | 3396 |

# | User | Contrib. |
---|---|---|

1 | Um_nik | 185 |

2 | adamant | 177 |

2 | awoo | 177 |

4 | nor | 169 |

5 | maroonrk | 165 |

6 | -is-this-fft- | 164 |

7 | antontrygubO_o | 154 |

8 | ko_osaga | 151 |

9 | dario2994 | 150 |

10 | SecondThread | 149 |

Hi. BOI (Baltic Olympiad in Informatics) will be held on Thursday and Friday. I just learnt that organizers provide possibility of participation in an online mirror of that contest. Enjoy: https://sio2.mimuw.edu.pl/en/c/boi2015-online/dashboard/ !

↑

↓

Codeforces (c) Copyright 2010-2023 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: May/31/2023 01:04:50 (j3).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|

I would also be interested if they will provide live scoreboard of onsite event if you know.

I don't know anything about it, don't think that it will be published, but I don't exclude such possibility. But I guess that if sth like that will be available then there are 2 possible places. One is contest platform and second is fb fanpage https://www.facebook.com/boi.programming.contest?fref=ts

Check out Facebook profile:

https://www.facebook.com/boi.programming.contest

Why I can't submit practice problem ?!

"500 Internal Server Error" at the moment :(

I think we don't have full feedback ?!

Where can I find the results of online participants?

There is only a photo for results after 2.5 hours on the Facebook page

It's results of onsite participants. I asked for online ones.

The results will be available around 5PM CEST.

Will it be possible to practice the problems after the contest ends?

Can anyone share idea how to solve Tug of War? :)

Make a graph of 2

nvertices that represent positions on the left and right rope segment respectively. Connect two vertices (representing different rope segments) with an edge of weightwif there exists a contestant of strengthwwho likes both positions on the rope.It is easy to prove that if there exists a connected component which is a tree then solution does not exist. So let's check it at first.

So we get a graph that has 2

nvertices, 2nedges and none of it's connected components is a tree. So it is a forest of medusas (trees with an additional edge that forms one cycle, looking as a cycle with trees attached to it's vertices). For every vertex of degree 1 we know how we have to assign the corresponding contestant, so iteratively remove those until only cycles are left.Every cycle can be assigned to the left rope in only two ways, let's say one has cumulative strength

Aand the otherB. We can at first use the strengthAand leave the option to change the difference between cumulative strength of left and right rope segment byB-Afor further use.We can treat these options (

B-Avalues) as items in knapsack problem and check if the solution exists this way.It will not pass the time limit yet as the size of the knapsack is up to 20 * n and there are up to n items. However, we can see that the sum of the item values is also limited by 20 * n, so if there are a lot of items many of them will have the same value. Now we can group them in packages of size 2

^{i}(if we have 17 items of value 5 we split them into items of values [1, 2, 4, 8, 2]). It is easy to observe that the knapsack algorithm with these modified items produces exactly the same output as on the original ones, but is faster. That's the final algorithm and AFAIK it scores 100.Finally let's adress what did I mean by "if there are a lot of items many of them will have the same value". Let's assume that there are

mdifferent values in the knapsack. So the sum of the items is at least 1 + 2 + ... +m=O(m^{2}). As the sum is limited by 20·nthen . So the complexity of the algoritm is . I know that using 20 in this notation lacks the mind and dignity of a man, but I'm too lazy to correct it now.Ranking is now available !

I've been interested in why no one has decided Task: SEQ ???