21天养成良好习惯-10 #include <stdio.h> #include <stdlib.h> int main() { float x,z; int y; scanf("%f %d",&x,&y); if(x<=3){ z=10+y/5*2; } else if(x>3&&x<=10){ z=10+(x-3)2+y/52; } else{ z=10+14+(x-10)3+y/52; } printf("%.0f",z); return 0; }