プチコン風にかくと for i=1 to n s=s+x[i] next のsの最終的な値ですね<Σ