0_0_20749612_30436.cpp: In function 'int main()': 0_0_20749612_30436.cpp:8:53: error: 'n' was not declared in this scope while(scanf("%lld",&a)!=EOF) printf("%lld\n\n",n*(n+1)/2); ^