文件名称:2020cce
文件大小:9KB
文件格式:ZIP
更新时间:2024-04-08 09:13:24
C++
2020cce 介绍程式码 找零钱 # include < stdio> int main () { int n; scanf ( " %d " ,&n); printf ( " %d =50* %d +5* %d +1* %d \n " ,n,n/ 50 ,nP / 5 ,n% 5 ); } 因数个数 # include < stdio> int main () { int n,a= 0 ; scanf ( " %d " ,&n); for ( int i= 1 ;i<=n;i++){ if (n%i== 0 ) a++; } printf ( " %d \n " ,a); } 找倍数 # include < stdio> int main () { int a[ 10 ],n= 0 ; for ( int i= 1 ;i<= 10 ;
【文件预览】:
2020cce-gh-pages
----week03()
--------3-2.cpp(346B)
--------3-1.cpp(345B)
--------整數間最大距離.cpp(239B)
--------計算幾週與幾天 .cpp(94B)
--------計程車資計算 .cpp(142B)
--------大小寫轉換.cpp(285B)
--------計算陣列的平方值 .cpp(174B)
--------3-4.cpp(152B)
--------3-3.cpp(529B)
--------兩數間可被5整除的整數.cpp(213B)
----README.md(7KB)
----week02()
--------2-2.cpp(2B)
--------2-1.cpp(269B)
----week04()
--------week04-3.cpp(219B)
--------進階題:函數找整數的最大數字.cpp(404B)
--------week04-1.cpp(100B)
--------進階題:除惡務盡.cpp(172B)
--------week04-5.cpp(361B)
--------week04-4.cpp(357B)
--------進階題:擲骰統計.cpp(214B)
--------week04-2.cpp(150B)
----week01()
--------1-4.cpp(192B)
--------1-5.cpp(192B)