#include <stdio.h>
int main(void){
int x=0,i,n;
double y=0;
printf("1から%dまでの数を計算する。\n",n
);
for(i=1;i<=n;i++){
x=x+i;
}
y=(double)x/(double)n;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKHZvaWQpewogICAgaW50IHg9MCxpLG47CiAgICBkb3VibGUgeT0wOwogICAgCiAgICBzY2FuZigiJWQiLCZuKTsKICAgIHByaW50ZigiMeOBi+OCiSVk44G+44Gn44Gu5pWw44KS6KiI566X44GZ44KL44CCXG4iLG4pOwogICAgCiAgICBmb3IoaT0xO2k8PW47aSsrKXsKICAgICAgICB4PXgraTsKICAgIH0KICAgIAogICAgeT0oZG91YmxlKXgvKGRvdWJsZSluOwogICAgCiAgICBwcmludGYoIue3j+WSjD0lZFxuIix4KTsKICAgIHByaW50Zigi5bmz5Z2H5YCkPSUuMWYiLHkpOwogICAgcmV0dXJuIDA7Cn0KCg==