作者:yunjinqi   类别:    日期:2023-05-29 16:16:23   阅读:235 次   消耗积分:0 分
#include <stdio.h> int main() {     int lower, upper;     if (scanf("%d %d", &lower, &upper) != 2 || lower > upper || upper > 100) { ...
作者:yunjinqi   类别:    日期:2023-05-29 16:13:39   阅读:244 次   消耗积分:0 分
#include <stdio.h> #include <stdlib.h> #include <string.h> int is_same_digits(int *arr1, int *arr2) {     int arr_d_1[10]={0};     int arr_d_2[...
作者:yunjinqi   类别:    日期:2023-05-29 16:11:01   阅读:242 次   消耗积分: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   阅读:242 次   消耗积分: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   阅读:228 次   消耗积分: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   阅读:251 次   消耗积分: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   阅读:238 次   消耗积分: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   阅读:247 次   消耗积分: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   阅读:259 次   消耗积分: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   阅读:246 次   消耗积分:0 分
#include <stdio.h> int factorial(int N){     int sum=1;     int i;     for (i=1;i<=N;i++){         sum*=i;     }     return su...
上一页   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   下一页