#include "iostream.h" void main () { int i; int s=0; for (i=0;i<100;i++) s+=i; cout <<s<<endl; }
main函数少了一对{}