https://blog.youkuaiyun.com/popoqqq/article/details/42805975
#include<cstdio>
int main() {
int x=0; char c;
while ((c=getchar())>'-') x=(x*10+c-'0')%10007;
printf("%d\n",x*(x+1)%10007*(x+2)%10007*1668%10007);
}
我还真不知道这么短的博客有什么用...
https://blog.youkuaiyun.com/popoqqq/article/details/42805975
#include<cstdio>
int main() {
int x=0; char c;
while ((c=getchar())>'-') x=(x*10+c-'0')%10007;
printf("%d\n",x*(x+1)%10007*(x+2)%10007*1668%10007);
}