awoo's blog

By awoo, history, 5 hours ago, translation, In English

2070A - FizzBuzz Remixed

Idea: BledDest

Tutorial
Solution (BledDest)

2070B - Robot Program

Idea: BledDest

Tutorial
Solution (Neon)

2070C - Limited Repainting

Idea: BledDest

Tutorial
Solution (awoo)

2070D - Tree Jumps

Idea: BledDest

Tutorial
Solution (Neon)

2070E - Game with Binary String

Idea: BledDest

Tutorial
Solution (BledDest)

2070F - Friends and Pizza

Idea: BledDest

Tutorial
Solution (BledDest)
  • Vote: I like it
  • +23
  • Vote: I do not like it

»
5 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

nice editorial

»
5 hours ago, # |
  Vote: I like it +6 Vote: I do not like it

From this round I received an important tip: You don't need to read the statement incorrectly. You need to read the statement correctly.

»
5 hours ago, # |
  Vote: I like it +4 Vote: I do not like it

For A: just print 3 * (n / 15) + min(3, n % 15 + 1)

»
5 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Btw in the editorial algorithm complexity is O(n), not O(1)

  • »
    »
    4 hours ago, # ^ |
      Vote: I like it +15 Vote: I do not like it

    It's probably because before looping through n, there is n %= 15, which ensures that n is always less than 15. Since increasing n doesn't affect the code's execution time — hence O(1).

»
5 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Why did my submission 308279845 for problem F result in a Denial of Judgement? The testcase information indicates "Generator is not determinate."

  • »
    »
    5 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Damn , first time seeing this ;-; , I guess problem with codeforces, in the test case verdict it is showing Verdict: CRASHED.

»
4 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

I don't think question E should be in this position

»
4 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Small mistake in problem A's tutorial: it should be $$$n/15$$$, not $$$n15$$$.

  • »
    »
    2 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Forgot a \frac there, will be fixed in a few moments. Thanks for noticing!

»
4 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

A is just — 0 1 2 15 16 17 30 31 32 45 46 47 ....

»
4 hours ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

i do not got the logic for B in 1 hr.

»
4 hours ago, # |
  Vote: I like it +1 Vote: I do not like it

seems like I'm the only one who printed n/15 + (n — 1)/15 + (n — 2)/15 for A lol

»
112 minutes ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

It seems like problem F has a problem with generator for the 64th test.

Could you check it please?

»
71 minute(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

How can we calculate OR Convolution using FFT?

»
43 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

in E, if the condition for player 2 was to choose at least one 0 instead of 1, how would the solution have changed?