Introduction
It is a good experience to write brute force solution, and then continued to improve and solve the problems. Look at the submission of the algorithm, Julia learned the min heap and algorithm design through the contest. Well done. Here is the report of submission:
From 2.5 to 4.17, and then 19.17 and then 30 full points, Julia tried to review each step and then write down how she works better next time.
Code review
The last submission with full score 30 is here.
Back to first try, wrong answer and timeout, pass 4 test cases, scored 2.5. Code is here.
Second try, scored 4.17, no more wrong answer. Code is here.
Third submission, scored 19, code is here.
No comments:
Post a Comment