Ok then \:\)

Changed test 6 to:
 Code:
[Test 6]
Input=...........................~..|..|..|..|..|..|..|..||..~..|..|..|..|..|..|..|..||..
Output=111111110


And this is the result:

 Code:

Your solution passed all tests

KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_cs.kix

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Check Scanning
Processing Start = 2008/04/17 15:11:28.474
Processing End   = 2008/04/17 15:11:28.612
Duration         = 0000/00/00 00:00:00.137
KiXGolf Score    = 629
 
Thank you for participating in KiXtart Golf!
_________________________
It's better to have scripted and died, then to never have scripted at all