Yes, that's allowed. We'll try our best to run all submitted solutions even if it could take a longer time.
However, please note that while having a higher score is nice, it is also important that you pay attention to the run-time. This assignment only has a limited number of test cases, but imagine you had to construct a large-scale CSKB, tradeoff between time/cost and quality should be carefully considered.
Phong