find the bug in cnt[1( should be 0 )] += ..,