0_0_19825182_20996.cpp:1:209: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>in: Invalid argument
#include<stdio.h>int main(){ int n,sum; while(scanf("%d",&n)!=EOF) { if(n%2==0) sum=n/2*(n+1); else sum=(n+1)/2*n; printf("%d\n\n",sum); } return 0;}
^
compilation terminated.
|