You are not logged in. Please login at www.codechef.com to post your questions!

×

What's wrong with my submission of TWOFL(June Long)

I implemented the solution of Author given in the editorial, my implementation is same as of him, expect some minor changes in variable names but I keep failing a few test cases in Subtask-2 and 3 while Author's solution passes.

My Solution : https://www.codechef.com/viewsolution/18880653 Author's Solution : https://s3.amazonaws.com/codechef_shared/download/Solutions/JUNE18/setter/TWOFL.cpp

What am I doing wrong?

asked 12 Jun, 20:29

sorb1997's gravatar image

4★sorb1997
1509
accept rate: 10%

edited 12 Jun, 20:31

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×795
×265
×179
×7

question asked: 12 Jun, 20:29

question was seen: 96 times

last updated: 12 Jun, 20:31