题解 | #你能活多少秒#
你能活多少秒
https://www.nowcoder.com/practice/e1d1bd99fee34b66ae3c777b74d555c8
#include <stdio.h>
int main() {
int a;
double b =3.156e7;
while (scanf("%d", &a) != EOF) { // 注意 while 处理多个 case
// 64 位输出请用 printf("%lld") to
printf("%.0lf\n", a*b);
}
return 0;
}
vivo公司福利 367人发布
查看17道真题和解析