[Zj c005] [UVA 10300] Ecological Premium

題目連結:https://zerojudge.tw/ShowProblem?problemid=c005
想法:照原題模擬即可,須注意運算過程中可能會出現溢位。

C++ code:https://github.com/Pizza-Man217/Zerojudge-solutions/blob/master/c005.cpp

留言

這個網誌中的熱門文章

[Zj e511] [UVA 11364]-Parking

[Zj b838][104北二區桃竹苗基資訊學科能力複賽] 括號問題