0_0_37130579_9860.cpp: In function 'int main()':
0_0_37130579_9860.cpp:5:14: error: 'scanf' was not declared in this scope
scanf("%d",&n);
^
0_0_37130579_9860.cpp:6:10: error: expected ';' before '{' token
for(i=0;i{
^
0_0_37130579_9860.cpp:6:10: error: expected primary-expression before '{' token
0_0_37130579_9860.cpp:6:10: error: expected ')' before '{' token
0_0_37130579_9860.cpp:11:10: error: expected ';' before '{' token
for(j=1;j{
^
0_0_37130579_9860.cpp:11:10: error: expected primary-expression before '{' token
0_0_37130579_9860.cpp:11:10: error: expected ')' before '{' token
0_0_37130579_9860.cpp:12:22: error: expected ';' before '}' token
if(x>a[j]){x=a[j],s=j}
^
0_0_37130579_9860.cpp:17:10: error: expected ';' before '}' token
for(i=0;i}
^
0_0_37130579_9860.cpp:17:10: error: expected primary-expression before '}' token
0_0_37130579_9860.cpp:17:10: error: expected ')' before '}' token
0_0_37130579_9860.cpp:17:10: error: expected primary-expression before '}' token
0_0_37130579_9860.cpp:20:10: error: expected ';' before '}' token
for(i=0;i}
^
0_0_37130579_9860.cpp:20:10: error: expected primary-expression before '}' token
0_0_37130579_9860.cpp:20:10: error: expected ')' before '}' token
0_0_37130579_9860.cpp:20:10: error: expected primary-expression before '}' token
|