0_0_36684976_27595.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_36684976_27595.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_36684976_27595.cpp: In function 'int main()':
0_0_36684976_27595.cpp:14:20: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_36684976_27595.cpp:14:23: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_36684976_27595.cpp:25:1: error: expected ';' before '{' token
{
^
0_0_36684976_27595.cpp:25:1: error: expected primary-expression before '{' token
0_0_36684976_27595.cpp:25:1: error: expected ')' before '{' token
0_0_36684976_27595.cpp:34:1: error: expected ';' before '{' token
{
^
0_0_36684976_27595.cpp:34:1: error: expected primary-expression before '{' token
0_0_36684976_27595.cpp:34:1: error: expected ')' before '{' token
0_0_36684976_27595.cpp:39:1: error: expected ';' before '{' token
{
^
0_0_36684976_27595.cpp:39:1: error: expected primary-expression before '{' token
0_0_36684976_27595.cpp:39:1: error: expected ')' before '{' token
0_0_36684976_27595.cpp:40:14: error: 'abs' was not declared in this scope
if(abs(arr[j])
^
0_0_36684976_27595.cpp:42:1: error: expected ')' before '{' token
{
^
0_0_36684976_27595.cpp:53:1: error: expected primary-expression before '}' token
}
^
0_0_36684976_27595.cpp:65:1: error: expected ';' before '{' token
{
^
0_0_36684976_27595.cpp:65:1: error: expected primary-expression before '{' token
0_0_36684976_27595.cpp:65:1: error: expected ')' before '{' token
0_0_36684976_27595.cpp:66:19: error: 'printf' was not declared in this scope
printf("%d",arr[i]);
^
0_0_36684976_27595.cpp:70:1: error: expected ')' before 'printf'
printf(" ");
^
0_0_36684976_27595.cpp:74:12: error: 'printf' was not declared in this scope
printf("\n");
^
|