When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

maroonrk's blog

By maroonrk, history, 18 months ago, In English

We will hold AtCoder Regular Contest 149.

The point values will be 300-500-500-700-700-900.

We are looking forward to your participation!

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

| Write comment?
»
18 months ago, # |
Rev. 2   Vote: I like it +9 Vote: I do not like it

hope all of you have fun!

(upd: What an interesting contest! the solution of B is very interesting!)

»
18 months ago, # |
  Vote: I like it +14 Vote: I do not like it

Hope you all have a good time in this competition!

»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Hope to solve 3 problems

»
18 months ago, # |
  Vote: I like it +6 Vote: I do not like it

thanks

»
18 months ago, # |
Rev. 2   Vote: I like it -8 Vote: I do not like it

Problems were interesting.

  • »
    »
    18 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Hey i have never participated in ARC rounds. Are they harder than normal beginner contests?

    What is the minimum codeforces rating one should have to solve 2 problems in most of the contests?

    • »
      »
      »
      18 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Yes ARCs are harder than ABC contests and it's rating range is until 2799 but ABC's rated range is until 1999, Also I don't think CF rating is a good criterion for atcoder contests so I can't answer your second question.

»
18 months ago, # |
  Vote: I like it +3 Vote: I do not like it

C was a good problem, but my algorithm only works with $$$n \geq 9$$$. therefore, i have to calculate all the situations for $$$n \in [3, 8]$$$ and add it to my code :(

  • »
    »
    18 months ago, # ^ |
      Vote: I like it +6 Vote: I do not like it

    I am luckier than you.I have to calculate the situations for n=3&&n=5.

    • »
      »
      »
      17 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I'm even luckier, I only need to calculate the situation for $$$n=3$$$.

»
18 months ago, # |
  Vote: I like it +11 Vote: I do not like it

D harder than normal, but it's still a great contest. Hope a more banlanced contest next time!

»
18 months ago, # |
  Vote: I like it +13 Vote: I do not like it

Problem D is similar to this problem.

»
18 months ago, # |
  Vote: I like it +3 Vote: I do not like it

It is difficult for me to understand the official solution of problem D, especially the "symmetry" part and the "spanning a directed edge" part.

Would anyone like to share your editorial of this problem? Thank you so much.

»
18 months ago, # |
  Vote: I like it +57 Vote: I do not like it
»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Such testcase does not exist in D, where the last move will put something to coordinate 0. Example case: 1 1 5 5

»
17 months ago, # |
  Vote: I like it 0 Vote: I do not like it

In problem A, X is a positive integer less than 10^N and N can go upto 10^5 which means X is a positive integer less than 10^(10^5). What should I conclude from this?

  • »
    »
    17 months ago, # ^ |
      Vote: I like it +8 Vote: I do not like it

    It means X is a string of digits with string length <= 10^5.

»
17 months ago, # |
  Vote: I like it 0 Vote: I do not like it

In Problem C, instead of looking for multiples of 3, I looked for getting the sum of n^2 (for n = odd cases because n^2 is odd, so the sum of 2 numbers means one of them is odd) and n^2-1 (for n = even cases because n^2-1 is odd.)

Both n^2 and n^2-1 are NOT prime.

»
17 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I am so happy that I've got a rating rise of more than 900 points.

(As my surprise, Atcoder's discuss in in Codeforces.)