Search found 1 match

by wilsonsf
Sun Sep 18, 2011 6:52 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 83743

Re: 10038 - Jolly Jumpers

I didn't get AC yet, but i'm pretty sure the test isn't with the size of the set, but if the set contains numbers 1 through n-1. E.g: INPUT: 3 5 10 16 |5-10| = 5 |10-16| = 6 N is 3, N-1 = 2 Size would be 2, but the sequence would be 5,6 and "Not jolly" -- Wilson de Farias Heres my code and im wonder...

Go to advanced search