atcoder_official's blog

By atcoder_official, history, 15 months ago, In English

We will hold AtCoder Regular Contest 205 (Div. 2).

The point values will be 400-500-600-600-700.

We are looking forward to your participation!

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

| Write comment?
»
15 months ago, hide # |
 
Vote: I like it +10 Vote: I do not like it

gl guys

»
15 months ago, hide # |
 
Vote: I like it +59 Vote: I do not like it

Such ridiculous contest.

»
15 months ago, hide # |
 
Vote: I like it +49 Vote: I do not like it

I thought it wrote "(Div. 2)" on the title of the contest.

Why have I found five Div. 4 problems in the "tasks" session?

There must be something wrong.

»
15 months ago, hide # |
 
Vote: I like it +35 Vote: I do not like it

I think this contest is too easy for ARC div2.

»
15 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

C is easy enough for B,and I think that B should be deleted.(

»
15 months ago, hide # |
 
Vote: I like it +65 Vote: I do not like it
  • »
    »
    15 months ago, hide # ^ |
    ← Rev. 2  
    Vote: I like it 0 Vote: I do not like it

    Even their input and output format is exactly the same. Ctrl-C and Ctrl-V could get an accpeted.

»
15 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it

This round is too easy. There are more than 250 AKers.

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

even easier than atcoder simulation contest.

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

I've thought it is trivial to set ABC A~C level problems, but it seems I'm wrong because the author of this contest didn't make it a ABC.

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

Naive sqrt decomposition passed in E for many which is too bad.

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

Good problems. Participated as unrated though.

»
15 months ago, hide # |
 
Vote: I like it +38 Vote: I do not like it

ARC Div.2 (x)

ABC with out A and B (√)

»
15 months ago, hide # |
 
Vote: I like it +28 Vote: I do not like it
»
15 months ago, hide # |
 
Vote: I like it +41 Vote: I do not like it

Why ABC F on ARC E?

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

Be wary of arc ABCization

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

For D, why does doing dfs, returning the amount of white nodes in the subtree, then accordingly pairing all the white nodes in the different subtrees fail?

int Tree(vector<vector<int>>&adj,int root,int &op){
    if(adj[root].size()==0)return 1;
    priority_queue<int> nodes;
    for(int v:adj[root]){
        nodes.push(Tree(adj,v,op));
    }
    while(nodes.size()>1) {
        int t1 = nodes.top();
        nodes.pop();
        int t2 = nodes.top();
        nodes.pop();
        op +=t2;
        if(t1!=t2)nodes.push(t1-t2);
    }
    return nodes.empty() ? 1 : nodes.top() + 1;
}
int main()
{
    testcases{
        int n;
        cin>>n;
        vector<vector<int>> adj(n+1);
        for(int i=2;i<=n;i++){
            int u;
            cin>>u;
            adj[u].push_back(i);
        }
        int op = 0;
        Tree(adj,1,op);
        cout<<op<<endl;
    }
 return 0;
}
»
15 months ago, hide # |
 
Vote: I like it +8 Vote: I do not like it

Why this is another abc round but disguised as an arc?