mathusalen's blog

By mathusalen, history, 7 years ago, In English

The 2019/20 SWERC (Southwestern European ICPC regional contest) takes place tomorrow January 26 at 9:15am CET in Paris. You should see the scoreboard here once the contest starts.

There will be an online mirror here and life streaming here

UPD: I have prepared a GYM based on the contest and it is available here. Many thanks to ko_osaga and the team Ruber Duck Forces (Infoshoc, nagibator and EvgeniyZh) for providing solutions to the problems.

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

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

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

»
7 years ago, hide # |
← Rev. 2  
Vote: I like it +40 Vote: I do not like it

Oh, I made a blog without seeing this one. I'm removing mine then.

I'm in Paris as a commentator today. Tune in for ICPC Live broadcast:
Youtube — https://www.youtube.com/icpclive
Twitch — https://www.twitch.tv/icpclive

»
7 years ago, hide # |
← Rev. 2  
Vote: I like it +21 Vote: I do not like it

I've heard that Errichto will be one of the commentators :P

»
7 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

Where to submit solutions after the contest ??

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

In problem E, I still don't understand how to do the Gaussian Elimination in

Unable to parse markup [type=CF_MATHJAX]

. Can anyone explain this in more detail?
  • »
    »
    7 years ago, hide # ^ |
    ← Rev. 3  
    Vote: I like it +43 Vote: I do not like it

    That's what I would do:

    Assume

    Unable to parse markup [type=CF_MATHJAX]

    (the board is taller than wider). The input consists of bits

    Unable to parse markup [type=CF_MATHJAX]

    (

    Unable to parse markup [type=CF_MATHJAX]

    ,

    Unable to parse markup [type=CF_MATHJAX]

    ) putting constraints on the final values in each cell.

    Let

    Unable to parse markup [type=CF_MATHJAX]

    be the boolean variable describing whether you tapped on the cell in $$$i$$$-th row and

    Unable to parse markup [type=CF_MATHJAX]

    -th column (

    Unable to parse markup [type=CF_MATHJAX]

    ,

    Unable to parse markup [type=CF_MATHJAX]

    ). We can now describe all

    Unable to parse markup [type=CF_MATHJAX]

    as a linear combination of all

    Unable to parse markup [type=CF_MATHJAX]

    and a constant $$$1$$$. When describing

    Unable to parse markup [type=CF_MATHJAX]

    , we want to ensure that the final value

    Unable to parse markup [type=CF_MATHJAX]

    is correct; that is,

    Unable to parse markup [type=CF_MATHJAX]

    . This allows us to describe all

    Unable to parse markup [type=CF_MATHJAX]

    's in

    Unable to parse markup [type=CF_MATHJAX]

    or

    Unable to parse markup [type=CF_MATHJAX]

    time.

    For instance,

    Unable to parse markup [type=CF_MATHJAX]

    ,

    Unable to parse markup [type=CF_MATHJAX]

    , and then

    Unable to parse markup [type=CF_MATHJAX]

    Now notice that we only need to ensure the correctness of the bits in the final row (all previous rows were taken care of when assigning $x_{\star, \star}$). This is equivalent to solving a system of

    Unable to parse markup [type=CF_MATHJAX]

    linear equations (each describing a cell in the final row) with

    Unable to parse markup [type=CF_MATHJAX]

    variables (each describing a cell in the first row), which takes

    Unable to parse markup [type=CF_MATHJAX]

    or

    Unable to parse markup [type=CF_MATHJAX]

    time. After solving the system, it's straightforward to restore the correct values of all remaining variables

    Unable to parse markup [type=CF_MATHJAX]

    ,

    Unable to parse markup [type=CF_MATHJAX]

    .
»
7 years ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

Will you upload it to the gym?

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

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

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

How to solve K?

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

Editorial if anyone is looking for it: https://swerc.eu/2019/theme/problems/swerc-analysis.pdf