saba_tavdgiridze's blog

By saba_tavdgiridze, 6 years ago, In English

My solution for 194C gnu c++ and MS c++ this two identically solutions get different verdict — gnu c++ it's wrong answer but Ms c++ Accepted .I think that problem is in getchar() but why i don't know.Can you help me?

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

»
6 years ago, # |
  Vote: I like it +4 Vote: I do not like it

everything is ok, 8713962
don't use iostream without sync and stdio in one program.
read blogs about fast input/output, you find lots of explanations how to do and not to do

  • »
    »
    6 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    can give me link or reference where it's written that use iostream without sync and stdio in one program isn't properly.