2021cce:程设 源码
2021cce程设 第一周 第一题 # include int main () { int n; scanf ( " %d " ,&n); printf ( " %d =50* %d +5* %d +1* %d \n " ,n,n/ 50 ,nP / 5 ,nP % 5 ); } 第二题 # include int main () { int n; scanf ( " %d " ,&n); int num= 0 ; for ( int i= 1 ;i<=n;i++ ){ if ( n%i== 0 ) num+= 1 ; } printf ( " %d \n " ,num); } 第三题 # include int a[ 10 ]; int main () { for ( int i=
用户评论