2020CCE 源码
2020年 第一个找零钱 # 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 / 1 ); } 第二个因数个数 # include < stdio> int main () { int n,ans= 0 ; scanf ( " %d " ,&n); for ( int i= 1 ;i<=n;i++){ if (n%i== 0 ) ans=ans+ 1 ; } printf ( " %d \n " ,ans); } 第三个找倍数 # include < stdio> int main () { int a[ 1000 ],ans= 0 ;
文件列表
2020CCE-main.zip
(预估有个4文件)
2020CCE-main
Week4 struct.cpp
1KB
week3.cpp
1KB
README.md
2KB
指標.cpp
551B
暂无评论