0_0_6078418_18958\Main.java:1: illegal character: \35 #include<stdio.h>int main(){ int n; while(scanf("%d",&n),n>0) printf("%d\n\n",n%2?(n+1)/2*n:n/2*(n+1)); return 0;}