需要考虑int储存的大小
#include <stdio.h>

int main(){
int age;

long sum;

scanf("%d",&age);

sum=age*3.156E7;

printf("%ld\n",sum);

return 0;

}