I'd say that case matters. After I added tolower() I got accepted. There must be something wrong either in the spec, or in the testdata. However you can print the letters in lowercase. Just convert the indata to lowercase.
/johan
Search found 3 matches
- Sat Sep 25, 2004 2:24 am
- Forum: Volume 102 (10200-10299)
- Topic: 10252 - Common Permutation
- Replies: 150
- Views: 73282
- Fri Sep 24, 2004 4:12 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10205 - Stack 'em Up
- Replies: 60
- Views: 33155
10205 TLE
Got TLE on this one. Thought that you could simply simulate the shuffling of the deck. Anyone knows if I just ran into an infinte loop (due to bad programming), or if you actually must do something more clever than brute force? It feels like a brute force problem =)
/johan
/johan
- Wed Jan 07, 2004 7:28 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10062 - Tell me the frequencies!
- Replies: 235
- Views: 69482