2019-04-14 21:55发布 生成海报
#include int main() { int ans,n; while(scanf("%I64d",&n)!=EOF) { ans=((n*(n+1)/2)%10000)*((n*(n+1)/2)%10000)%10000; printf("%04d ",ans); } return 0; }