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

×

need help in understanding the time complexity of the following

I was taking part in a practice contest and I noticed that my program was slower when I used the lines ios_base::sync_with_stdio(false);

cin.tie(NULL);

Which is contrary to what I've read can someone please explain this

asked 22 Nov '18, 13:32

karan26122001's gravatar image

2★karan26122001
11
accept rate: 0%

It shouldn't be like that... Can you share solution link ?

(22 Nov '18, 14:19) l_returns4★

share your code.

(22 Nov '18, 15:14) codesniper993★
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:

×1,901
×421

question asked: 22 Nov '18, 13:32

question was seen: 68 times

last updated: 22 Nov '18, 15:14