0_0_15274754_19494.cpp: In function 'int main()':
0_0_15274754_19494.cpp:4:1: error: 'imt' was not declared in this scope
imt n,i,sum=0;
^
0_0_15274754_19494.cpp:5:19: error: 'n' was not declared in this scope
while(scanf("%d",&n)!=EOF);
^
0_0_15274754_19494.cpp:7:5: error: 'i' was not declared in this scope
for(i=1;i<=n;++i;)
^
0_0_15274754_19494.cpp:7:12: error: 'n' was not declared in this scope
for(i=1;i<=n;++i;)
^
0_0_15274754_19494.cpp:7:17: error: expected ')' before ';' token
for(i=1;i<=n;++i;)
^
0_0_15274754_19494.cpp:7:18: error: expected primary-expression before ')' token
for(i=1;i<=n;++i;)
^
0_0_15274754_19494.cpp:9:17: error: 'sum' was not declared in this scope
printf("%d\n\n",sum);
^
|