這裡的測資僅代表我們最近跑出的結果,且輸入皆為自己想到的輸入,並不一定有包含所有情況,也不保證完全正確,並且基本上是在我的指定範圍內隨機生成,所以並不一定包含我所預期的所有狀況。
因此,這裡的測資通過不代表最後一定會拿到滿分。
特別注意:我有時會粗心把輸入/輸出格式寫錯,請以作業上跟助教補充說明的格式為主,用 diff 時遇到格式錯誤請去看作業跟補充說明。
./a.out < input_file > output_file
diff my_output_file your_output_filecompare-object (get-content my_output_file) (get-content your_output_file)用來測試答案的機器人
不保證答案正確,已經過助教同意
使用方法或語法請詳閱機器人的個人介紹內的HackMD
3/15 Upload hw0101 test program.(not sure about the correctness)
3/16 Rewrite hw0101 test program.(but still not check the correctness)
3/18 Rewrite hw0101 test program.(also still don't check)
3/21 Upload hw0101 hw0102 hw0103 test program.