0_0_25060384_15943.cpp: In function 'void get_result(int*, int)':
0_0_25060384_15943.cpp:8:28: error: 'j' was not declared in this scope
if(abs(a[i])>abs(a[j]))
^
0_0_25060384_15943.cpp: At global scope:
0_0_25060384_15943.cpp:17:1: error: expected unqualified-id before 'for'
for (int k=0;k<n;k++)
^
0_0_25060384_15943.cpp:17:14: error: 'k' does not name a type
for (int k=0;k<n;k++)
^
0_0_25060384_15943.cpp:17:18: error: 'k' does not name a type
for (int k=0;k<n;k++)
^
0_0_25060384_15943.cpp:21:1: error: expected unqualified-id before '{' token
{
^
0_0_25060384_15943.cpp: In function 'int main()':
0_0_25060384_15943.cpp:42:1: error: expected ';' before '}' token
}
^
|