2024.11.14 南山資訊培訓
大綱
- 檢討硬幣的作業
- 教學 陣列 (array)
- 寫TOI題目 (第一題)
1. 硬幣作業檢討
題目
https://cs50.harvard.edu/ap/2025/curriculum/x/psets/1/cash/
題目簡述
輸入 n 元
硬幣的幣值為:[25, 10, 5, 1]
計算找零所需的最少硬幣數量 並列印結果
2. 陣列 (array)
希望我講解的大家都能聽懂 聽不懂可以直接問
給個參考資料
https://openhome.cc/Gossip/CppGossip/OneDimArray.html
https://www.geeksforgeeks.org/applications-advantages-and-disadvantages-of-array-data-structure/
3. TOI 題目
(希望第一題大家都能解出來)
程式碼上完課會給
第一題
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
第二題 (可以挑戰看看)
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
第三題 (可以挑戰看看)
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →