题解 | #你能活多少秒#
你能活多少秒
https://www.nowcoder.com/practice/e1d1bd99fee34b66ae3c777b74d555c8
#include<stdio.h> #include<math.h> int main() { int age = 0; scanf("%d", &age); long int seconds = age * 3.156 * pow(10, 7); printf("%ld", seconds); return 0; }