Invitation to CodeChef July Long Challenge 2018!

Commented on Gears but I am not getting any reply. I am waiting for more than two days.

hehe I remember your nameā€¦ ā€œcode_manā€ XD
reminds me of MMASS question we discussedā€¦
I remember due to username :slight_smile: and our long discussionsā€¦

Can anyone tell me how to flush the output after every line in Chef and war question.

What I have been using is cout.flush() but it doesnā€™t seen to work.

C++ use the fflush(stdout) function

Java ā€” call System.out.flush()

Python ā€” sys.stdout.flush()

Pascal ā€” flush(output)

3 Likes

@vijju123 @mgch I strongly feel problem statement of MGCSET has been altered in past 2 days. And why is no announcement made after this change?

Haahaa hu pan nai bhulu MMASS and ur help for that:)

Hey how u know Gujarati bro ??

@mgch the sequences dā€™s in Pizza delivery is constrained to be already sorted or theey can be in any arbitrary order.

Magic set problem needs to be more detailed, I would appreciate if someone can help me with problem .

bound by rules of codechef :frowning:

ha ha i dont want answer , i just want some one to explain me question a little more , i am little dumb so it will be a fovour

@admin : Couldnā€™t understand sample test for Reach Equilibrium.Please provide some explanation!!

Ala bhai hu gujrati chu ā€¦:)_/_

1 Like

Full explanation will be spoiler to the solution :frowning:

Arbitrary order

1 Like

nice man :smiley:

its not allowed acc to discuss rulesā€¦

@admin: In the problem Reach Equilibrium, magnitudes of the vectors can be any positive real number including zero.(please confirm this)

Real numbers. Refer to @mgch comment above.

Including zero?(thatā€™s my main concern)