02 2023 档案

摘要:#include <stdio.h> #include <math.h> double funcos( double e, double x ); int main() { double e, x; scanf("%lf %lf", &e, &x); printf("cos(%.2f) = %.6f 阅读全文
posted @ 2023-02-14 18:01 晨曦yd 阅读(198) 评论(0) 推荐(0)
摘要:水仙花数(1000<=m<n<10000) #include <stdio.h> #include <stdlib.h> #include <math.h> int harcissistic(int number); void PrintN(int m,int n); int main(){ int 阅读全文
posted @ 2023-02-14 16:52 晨曦yd 阅读(18) 评论(0) 推荐(0)
摘要:长整型数字中某数字个数 #include <stdio.h> #include <stdlib.h> int ContDigit(int number,int digit); int main(){ int number,digit; scanf("%d %d",&number,&digit); p 阅读全文
posted @ 2023-02-14 16:30 晨曦yd 阅读(22) 评论(0) 推荐(0)
摘要:数字金字塔 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 #include <stdio.h> #include <stdlib.h> void pyramid( int n ); int main() { int n; scanf("%d", &n); pyramid(n); ret 阅读全文
posted @ 2023-02-14 11:28 晨曦yd 阅读(36) 评论(0) 推荐(0)