atcoder_official's blog

By atcoder_official, history, 7 weeks ago, In English

We will hold AtCoder Beginner Contest 449.

We are looking forward to your participation!

  • Vote: I like it
  • -16
  • Vote: I do not like it

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

GOOD!!!

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

Good luck!

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

This is my first contest

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

Good!

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

what is a TLE?

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    It is the short form of "Time Limit Exceed", where your code exceed the limit time for the problem. For instance, a problem could have a limit time of 2000ms, and if your code do 1000000000 (Or 10^9) operations (Or O(1e9)), you will receive a TLE

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Time Limit Exceeded,your code's efficiency is not enough.

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

Yes! Good luck!

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

D was nice,very great problem which looked scary at first

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

Solved $$$E$$$ in 10 minutes, couldn't solve $$$D$$$ even after 50 minutes :(

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

The second worst round I have ever participated in. Not fun and coding is suffering.

To solve D and E you just need to implement your code and fix thousands of little bugs rather than design a excellent algorithm.

BTW the worst round is ABC421 whose problem D is "RLE Moving".

»
7 weeks ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Was C a sliding window?

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

hi, how do u find the testcases for atcoder contest?

my https://atcoder.jp/contests/abc449/submissions/74124359 this solution failed few testcases and i wanna see which cases it failed

thanks

»
7 weeks ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

I solved F with a slight different approach.

  • Instead of counting rectangles, we can count the top left corners.
  • So every input point (x,y) , We can transform them into rectangle (x-h+1 to x) (y-w+1 to y) such that the top left corner can never occur in this forbidden region.
  • Now we have a collection of bad rectangles, and I need to find their union area, Union area of rectangles is is a standard problem.
  • Solution: https://atcoder.jp/contests/abc449/submissions/74103781

  • Idea: Union of intervals, by segment tree (minimum element, frequency)
»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

does atcoder have good problems? i have been considering doing atcoder for a while now because of their schedule

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

Can someone explain problem E please? I am having a hard time understanding the editorial.

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

Today's E and F are somehow implementation-heavy. But the involved ideas are good to learn I think.

Problem E needs "online to offline", "find k-th small element based on segment tree". Problem F needs "sweep-line-similar-idea", "use set to update some value with element adding and removing".