0_0_29146389_17003.cpp:7:1: error: missing terminating " character
while (scanf("%d,&n)!=EOF)
^
0_0_29146389_17003.cpp: In function 'int main()':
0_0_29146389_17003.cpp:9:1: error: expected primary-expression before 'for'
for(int i=1;i<=n;i++)
^
0_0_29146389_17003.cpp:9:1: error: expected '}' before 'for'
0_0_29146389_17003.cpp:9:1: error: expected ')' before 'for'
0_0_29146389_17003.cpp:9:12: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_29146389_17003.cpp:9:13: error: 'i' was not declared in this scope
for(int i=1;i<=n;i++)
^
0_0_29146389_17003.cpp: At global scope:
0_0_29146389_17003.cpp:15:1: error: expected unqualified-id before 'return'
return 0;
^
0_0_29146389_17003.cpp:16:1: error: expected declaration before '}' token
}
^
|