作者:yunjinqi   类别:    日期:2023-05-29 16:11:01   阅读:106 次   消耗积分:0 分
#include <stdio.h> double fact(int n){     double r=1.0;     int i;     for (i=1;i<=n;i++){         r*=i;     }     return r; ...
作者:yunjinqi   类别:    日期:2023-05-29 16:08:19   阅读:113 次   消耗积分:0 分
#include <stdio.h> int main() { int n; int i = 0;     int k = 1;     int r=0;     if (scanf("%d",&n)!=EOF){                 ...
作者:yunjinqi   类别:    日期:2023-05-29 16:04:20   阅读:107 次   消耗积分:0 分
#include <stdio.h> int main(){     int N,U,D;     int len=0;     int direction=1;     int count=0;     if (scanf("%d",&N)!=EOF && sc...
作者:yunjinqi   类别:    日期:2023-05-29 16:01:42   阅读:114 次   消耗积分:0 分
#include <stdio.h> int is_perfect_num(int num){     int sum=0;     int i;     for (i=1;i<num;i++){         if (num%i==0){sum+=i;}   ...
作者:yunjinqi   类别:    日期:2023-05-29 15:57:17   阅读:104 次   消耗积分:0 分
#include <stdio.h> int main(){     int num=0,a,b,c,max_num,min_num,i,j,res;     int num_array[6];     res = scanf("%d",&num);     if (res!...
作者:yunjinqi   类别:    日期:2023-05-29 15:12:36   阅读:110 次   消耗积分:0 分
Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" w...
作者:yunjinqi   类别:    日期:2023-05-29 15:07:45   阅读:120 次   消耗积分:0 分
#include <stdio.h> int main() {     int x,s=1,n=1;     scanf("%d",&x);     while(s<x)     {         s=s*10+1;         n++;   ...
作者:yunjinqi   类别:    日期:2023-05-29 15:03:38   阅读:114 次   消耗积分:0 分
#include <stdio.h> int factorial(int N){     int sum=1;     int i;     for (i=1;i<=N;i++){         sum*=i;     }     return su...
作者:yunjinqi   类别:    日期:2023-05-29 14:20:18   阅读:118 次   消耗积分:0 分
#include <stdio.h> #include <math.h> int main() {     int n;     int res;     res = scanf("%d", &n);     int array[n][2];     for ...
作者:yunjinqi   类别:    日期:2023-05-29 14:17:57   阅读:118 次   消耗积分:0 分
#include <stdio.h> int main(){     int T;     int distance_rabbit=0,distance_turtle=0;     //int speed_rabbit = 9,speed_turtle=3;     int ...
上一页   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   下一页