(111技藝競賽程式設計實作題) Problem P 二元樹

感謝chatgpt將筆者C++程式碼轉換成Python,請參考c126-acm-536-TreeRecovery