作者:yunjinqi 类别:
日期:2023-05-31 11:35:54 阅读:125 次 消耗积分:0 分
#include <stdio.h> #include <math.h> int main(){ int x=3,y=x*x; printf("%d = %d * %d\n",y,x,x); printf("%d * %d = %d\n",x,x,y...
作者:yunjinqi 类别:
日期:2023-05-31 11:33:03 阅读:116 次 消耗积分:0 分
#include <stdio.h> #include <math.h> int main(){ int n,m; int min_value; if (scanf("%d",&n)!=EOF){ // 计算150,分配...
作者:yunjinqi 类别:
日期:2023-05-31 11:28:57 阅读:120 次 消耗积分:0 分
#include <stdio.h> #include <math.h> int main(){ int n; double sum=0.0; if (scanf("%d",&n)!=EOF){ // 计算150,分配...
作者:yunjinqi 类别:
日期:2023-05-31 11:26:44 阅读:108 次 消耗积分:0 分
#include <stdio.h> int main(){ int num; int count=0; while (scanf("%d",&num)!=EOF){ // 计算运算结果 ...
作者:yunjinqi 类别:
日期:2023-05-31 11:24:21 阅读:119 次 消耗积分:0 分
这道超级简单的题目没有任何输入。你只需要在第一行中输出程序员钦定名言“Hello World”,并且在第二行中输出更新版的“Hello New World”就可以了。#include <stdio.h> i...
作者:yunjinqi 类别:
日期:2023-05-31 11:22:07 阅读:115 次 消耗积分:0 分
#include <stdio.h> int main(){ int a,b; if (scanf("%d %d",&a,&b)!=EOF){ // 计算运算结果 if (b==0){printf("...
作者:yunjinqi 类别:
日期:2023-05-31 11:19:43 阅读:114 次 消耗积分:0 分
#include <stdio.h> int main(){ int hour,minute; if (scanf("%d:%d",&hour,&minute)!=EOF){ // 分析不敲钟的时间 ...
作者:yunjinqi 类别:
日期:2023-05-31 11:17:06 阅读:122 次 消耗积分:0 分
#include <stdio.h> int main(){ int n,c=0; if (scanf("%d",&n)!=EOF){ // 计算150,分配给5,2,1,总数得是100 f...
作者:yunjinqi 类别:
日期:2023-05-31 10:45:17 阅读:115 次 消耗积分:0 分
#include <stdio.h> #include <math.h> int main(){ int n; int arr[3]; int v; int v2=1; if (scanf("%d",&n)!=EOF){ ...
作者:yunjinqi 类别:
日期:2023-05-31 10:41:53 阅读:123 次 消耗积分:0 分
#include <stdio.h> #include <math.h> int main(){ int n; if (scanf("%d",&n)!=EOF && n>=1 && n<=9){ for (int i=1;i<=n;i+...