题解 | #你能活多少秒#
你能活多少秒
https://www.nowcoder.com/practice/e1d1bd99fee34b66ae3c777b74d555c8
#include <stdio.h>
int main()
{
long int age = 0;
scanf("%ld",&age);
long int time = age*31560000;
printf("%ld",time);//%ld打印长整型,%lld是打印更长整型
return 0;
}

查看9道真题和解析