Please read the new rule regarding the restriction on the use of AI tools. ×
Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

cse_anik's blog

By cse_anik, history, 23 months ago, In English

Where is the mistake in this code? I could not understand. Please answer this code।

Codeforces problem 318A-Even Odds

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

| Write comment?
»
23 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Well where is your code?
And you haven't even done a submission

Sorry

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

The problem is that you are running a loop of n and n could be at most 10^12 which C can't afford even in 10s so you should find a solution which doen't contains a loop (if want the solution tell me)