tweety's blog

By tweety, 7 years ago, In English

Output: aedcbf. Answer: aedcbf. Checker comment: wrong answer 1st words differ : expected: 'aedcbf', found: 'aedcbf' http://codeforces.com/contest/525/submission/10478241

:/

Tags bug
 
 
 
 
  • Vote: I like it
  • +82
  • Vote: I do not like it

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

    I submitted it again using GNU C++ compiler and got the same problem. I don't know how it worked with you.

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

      Igorjans code and yours differ in one line. Take a close look REP(i, 0, size(str) — 1) ... versus REP(i, 0, size(str)) in your code.

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

        That fixed it. Thank you a lot!

»
7 years ago, # |
  Vote: I like it +71 Vote: I do not like it

"Expected doge, found doge"

I was laughing for a minute :D

»
7 years ago, # |
  Vote: I like it +17 Vote: I do not like it

I think extra "\0" causing problemoo. :D (string str="hello";//str="hello\0")

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

The picture is so damn good, i can't stop laughing.

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

So much 3tees

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

The fuck?