ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1081. Binary Lexicographic Sequence

What's up with test #6 ?
Posted by Haile 18 Nov 2013 14:46
My damned solution keep giving WA on test 6 with C11. I tested on big numbers and every corner case (yes, it works with 1 1 -> '0', yes, it gives '-1' on 3 6, etc..)

Suggestions? What's in test 6?

The exact same algorithm in python gives AC.. (and it's not a bignum issue, I tested the C version with 43 and 10**9)

Edited by author 24.11.2013 01:26