Comments
0

Facing exactly same issue. Today I was not able to solve B. I cant belive how they can solve this quickly.

Thank you for clear explanation.

I really like the way problems are described.. No nonsense and stories and to the point.. Nice problems..

0

In F editorial: If it appears at least twice, then it contributes either 1 or 2 to the answer. If all occurrences are in one of the two arrays, the contribution is 1, otherwise it is 2.

If all occurrences in 1st array why it cant contribute 2? Cant we swap so that it will contribute 2? Also, Can someone please explain the editorial of F in easy way? I am not getting graph part?

Seems like login issue.

Why editorials('tutorials') are not showing up in problem's 'contest material' sections?

Never mind.. I got it.. I am using pow and i should compare before %mod

Hi, In div2 b I am not writing if else statement and using: cout<< max(power(2,p[i]) + power(2,q[k-i]), power(2,p[k-j])+ power(2,q[j]))%Mod<< " ";

But it is failing and if else below code is working. Could someone please help me?

for (int i = 0, j = 0, k = 0; k < n; k++) {
        if (p[k] > p[i]) i = k;
        if (q[k] > q[j]) j = k;

        if (p[i] != q[j]) {
            if (p[i] > q[j])
                cout << (power(2, p[i]) + power(2, q[k - i])) % Mod << " ";
            else
                cout << (power(2, q[j]) + power(2, p[k - j])) % Mod << " ";
        } else {
            cout << (power(2, p[i]) + power(2, max(q[k - i], p[k - j]))) % Mod << " ";
        }
       // My code:  
     // cout<< max(power(2,p[i]) + power(2,q[k-i]), power(2,p[k-j])+ power(2,q[j]))%Mod<< " ";
    }
0

can you please explain?

0

Hard_2_Face Did you get it?

On PvPro → Codeforces Round 1026 (Div. 2), 18 months ago
+6

Nice contest, no ambiguous statement like other contests..Thank you..

0

you are right.

+30

bro i am not able to understand B. The explanation is really bad...

thank you so much for your detailed explanation. I get it now...

bro can you please explain this solution?

0

when is rating going to be updated?

ok.. i was assuming these are not parallel..

In problem d. If we have an odd number of points, wouldn't every line intersect? I believe there will not be any parallel line.

On abs0lute → Make proofs, 3 years ago
+10

100% agree

can someone please explain the solution of F ?

ok thanks. Let me check dsu.

I was not able to understand D. In the last sample test case it is showing 12 as answer. can someone please explain how 12? I am getting more than 12. If i make 1 and 3 as friend and 3 and 4 are already are friend then i can make 1 and 4 friend as well.

Can you check with ll xx,yy?

haha

On Grammar_hbw → Queueforces, 3 years ago
0

I was facing this issue yesterday as well. Too frustating

Thats a clever solution. I was thinking about segment tree or bit..

I love the problems. Thanks for the contest.

but why are you getting 1 wa on sample input. Are these sample input different from problem's sample input.

did your sample test case pass in local? Same problem with me. My sample testcase pass in local but failing on submission

Guys my code is giving correct output for D sample testcase. But after submission it says sample output are wrong. How even it is possible? I am use "Yes" & "No" only as output. my submission:https://atcoder.jp/contests/abc348/submissions/52108589

On Kuroni → Codeforces Global Round 25, 3 years ago
0

I hope it will not be MathForces.

Waiting for editorial of G.....

Can someone explain me the C's editorial. I didnt get why we are subtracting ei+1- ei?

i did the same lol.

i also did same, People are sorting the array, i think we didnt get the question. Can somebody explained what is the expectation of the problem?

yeah i guess.

can somebody tell me why c is failing? I am checking if this below condition fails then it should be no: if(ar[i]%(a+b)>0 && ar[i]%(a+b)<=a) https://atcoder.jp/contests/abc347/submissions/51823167

system testing is going on. Check this on dashboard page: https://codeforces.me/contest/1950

Never mind. Got it.

Problem B :Can somebody explained me why i am getting overflow issue:https://codeforces.me/contest/1946/submission/252902592

ok, that was too confusing... Thanks

sorry bro, i didnt get. Could you please explain with an example. for example 1 1 1.

In this case both will fire at 1 min then again 2nd min and it will go on. And they are visible for 1 min. So it should be inifinity.

I didn't get B. If both are starting at the same time, then ans should be infinity. Can somebody explain.

Should i stop doing coding then? and start agriculture because you cant automate that and people are going to eat food anyway.

Ohhi thought count should differ.Thank you understood now.

+3

okay

My english is weak, as far i understand i am 2nd biggest fan and you are first. Right? what does that Nooooo indicate? Noooo means not ?

+8

okay

-21

All the best 300iq. BIGFAN HERE

ok got it

How do we know contest ended or not?

On sshwyR → Codeforces Round #664, 6 years ago
-7

Please provide short statements for problems and understandable english,I am learning english .Thanks

Nice Thanks for code.

i understand taking some cases, i put 1 in four corner of 4 x 4 matrix then when i try to make other 2 x 2 matrix to make odd then i end up making other matrix even, also try others combination of putting 1 in different location. i would suggest you to take 4 x 2 matrix try to make it odd you will understand.

UNDERSTOOD.

i think you should make unofficial questions so that we can understand what question wants from us.

-6

I think your problem statement was too small that I was unable to see them, I have to zoom 10000% my chrome. Thanks for ultra-max-pro-short-statement-contest.

-19

going to sleep after reading your story :(

Thanks for helping sir.Now i understood why priority queue will not work.

In E why we can't cut longest log in len/2 and len-len/2 two parts greedly and put them in priority queue.

Range based is working in cp-editor.May be you have older version(i don't know).U can download new version from link i have given above.

No, but I would recommend you to use it once maybe you will like it.

wtf pranayhalo boy.How did u know?

No way !! They have same rating i can't believe this.

Well right now i am 0 year old because yesterday I took birth. I was doing programming since when I came into existence as sperm.Hope to become red when i will be 1 year old.I was doing programming with other sperms with the help of advanced Technology which can't be explained in this world.

How the hell those russian kids are solving? I am feeling like idiot.

use cp-editor ultra-fast and easy to use. CP-editor

Next is your's contest.

I think contest could have delayed bit more or held tomorrow after fixed bug. All the efforts of setter go in vain.

Nice go for it

.

U cant find them because the problem's name is JOHN CENA.. XD

Where are the problems? xd

Thank you

lol your name -sister of contestfucker xdxd

500 Internal Server Error

On tourist → Codeforces Global Round 5, 7 years ago
0

Yes, I did nothing wrong. All things should be perfectly balanced.