#include<stdio.h> int main() {double x; scanf("%lf",&x); printf("%d",(int)x); return 0; }
为什么讨论区都在说用long long啊?那不是长整型吗?题目不是双精度浮点型吗?求大佬解答^~^