#include <stdio.h>
int jifei(int i,int t)
{
int sum;
if(t>=23&&t<=24||t<5&&t>0)
{
if(i<=3)
{
sum=13;
}
else
{
sum=(i-3)*1.2*2.3+14;
}
printf("%d",sum);
return sum;
}
else
{
if(i<=3)
{
sum=13;
}
else
{
sum=2.3*(i-3)+14;
}
}
printf("%d",sum);
return sum;
}
int main{
int z;
z=jifei(12,9)+jifei(12,6);
printf("%d",z) ;
}
已回答