Sona-01
发表于 2022-2-3 19:12:32
/* 测 0.110
1.11
2. a
3. a=13 b=4 c=9
4. if(x<0){x=-x;
}else{
x=x;}
z=x;
5.
A:
if(size>12){
cost=cost*1.05;
flag=2;
}else{
bill=cost*flag;}
B:
if(ibex>14){
sheds=3;
}else{
sheds=2;
help=2*sheds;
C:
if(score<0){
printf("count=%d\n",count);
}else{
count++;
readin:scanf("%d",&score);
*/
/*
#include <stdio.h>
#define b 10000
#define xp 0.1
#define hp 0.05
int main(){
double x=b,h=b;
int i;
for(i=1;;i++){
x=x+xp*b;
h=h+h*hp;
if(h>x){
printf("%d年后 , 黑夜的投资额超过小甲鱼 !\n",i);
printf("小甲鱼的投资额是 : %.2lf\n",x);
printf("黑夜的投资额是 : %.2lf",h);
break;
}
}
return 0;
}*/
/*1.
#include <stdio.h>
int main(){
double b=4000000,p=500000,i=0.08;
int j;
for(j=1;;j++){
b=b-p;
b=b+b*i;
if(b<=0){
printf("%d年之后,小甲鱼败光了所有的家产,再次回到一贫如洗......",j);
break;
}
}
return 0;
}*/
/*
#include <stdio.h>
#include <math.h>
int main(){
double d,p,s=0,flag=1;
for(d=1;;d+=2){
if(flag=-1){
d=-d;
}
p=1/d;
s+=p;
flag=-flag;
if(fabs(p)<pow(10,-8)){
break;
}
}
printf("Pi等于%.7lf",s*4);
return 0;
}*/
玄烛
发表于 2022-2-3 20:01:25
{:10_277:}
万事屋
发表于 2022-2-4 17:24:50
学习
loopy快回来
发表于 2022-2-4 21:58:56
嘿嘿
随风而逝一身轻
发表于 2022-2-5 17:21:11
看看
3192575523
发表于 2022-2-5 18:57:33
kkk
cc6935
发表于 2022-2-8 18:24:08
我爱鱼C
qq312lm
发表于 2022-2-8 21:23:10
66666666
2950309285
发表于 2022-2-9 16:10:44
好难啊啊
靓仔靖靖
发表于 2022-2-9 18:23:20
1
村熊
发表于 2022-2-9 20:46:27
查看参考答案
不朽49
发表于 2022-2-9 21:35:06
好了好了
gegao
发表于 2022-2-9 23:14:38
学习学习
投入就放过
发表于 2022-2-10 15:17:06
huifu
岁寒青松
发表于 2022-2-10 15:35:21
看答案
易AI燃
发表于 2022-2-10 18:20:24
z=a>0?a:-b
if (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
if (ibex > 14)
{
sheds = 3;
}
sheds = 2;
help = 2 * sheds;
yrx271015
发表于 2022-2-10 23:34:06
1
YuBaokai
发表于 2022-2-11 10:26:13
1
benzema
发表于 2022-2-11 12:03:43
666
HYC.C
发表于 2022-2-11 13:59:37
{:9_220:}