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 1209. 1, 10, 100, 1000...

WA 6
Posted by hatred 1 Aug 2011 22:56
Why my code gets WA 6?
I precalculate all "1"'s positions and save them into array, and I use binary search.

UPD

hmm, I changed all types for unsigned long long and got AC

Edited by author 01.08.2011 23:17