0_0_31945699_14160.cpp:10:5: error: stray '\' in program
while(scanf(\"%d\",&n)!=EOF)
^
0_0_31945699_14160.cpp:10:5: error: missing terminating " character
0_0_31945699_14160.cpp:21:9: error: stray '\' in program
printf(\"%d\\n\",a[n]);
^
0_0_31945699_14160.cpp:21:9: error: missing terminating " character
0_0_31945699_14160.cpp: In function 'int main()':
0_0_31945699_14160.cpp:12:9: error: expected primary-expression before 'if'
if(n==0)
^
0_0_31945699_14160.cpp:12:9: error: expected '}' before 'if'
0_0_31945699_14160.cpp:12:9: error: expected ')' before 'if'
0_0_31945699_14160.cpp:13:18: error: expected ')' before ';' token
break;
^
0_0_31945699_14160.cpp:22:5: error: expected primary-expression before '}' token
}
^
0_0_31945699_14160.cpp: At global scope:
0_0_31945699_14160.cpp:23:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_31945699_14160.cpp:24:1: error: expected declaration before '}' token
}
^
|