Search found 2 matches

by aliatti
Tue Dec 10, 2013 2:43 am
Forum: Volume 127 (12700-12799)
Topic: 12709 - Falling Ants
Replies: 11
Views: 4449

Re: 12709 - Falling Ants [Wrong Answer]

Try these cases:
1
1 2 3
1
1 1 1
0
Answer:
6
1
Yours:
6
6

Got it?
By the way, thanks to your code I could realize my own mistake.
by aliatti
Tue Jan 25, 2011 5:55 am
Forum: Volume 117 (11700-11799)
Topic: 11708 - Lexicographical ranking
Replies: 2
Views: 2823

Re: 11708 - Lexicographical Ranking

I got AC, but I've found a different word for the input:

zsrqponmlkjihgfedcya
6613313319248080000

My answer:
zysrqponmlkjihgfedc a (additional 'a' at the end of the string)

Since that number is the rank of the last word that can be formed with 20 letters, the answer should be a string with all ...

Go to advanced search