0_0_13740325_25496.cpp: In function 'int isoverload(int, int)':
0_0_13740325_25496.cpp:9:1: error: expected ';' before 'w'
w+=x[i]*weight[i];
^
0_0_13740325_25496.cpp:9:18: error: expected ')' before ';' token
w+=x[i]*weight[i];
^
0_0_13740325_25496.cpp: In function 'int getval(long int)':
0_0_13740325_25496.cpp:16:1: error: expected ';' before 'v'
v+=x[i]*val[i];
^
0_0_13740325_25496.cpp:16:15: error: expected ')' before ';' token
v+=x[i]*val[i];
^
0_0_13740325_25496.cpp: In function 'void digui(int, int, int, int)':
0_0_13740325_25496.cpp:26:2: error: expected ')' before 'return'
return;
^
0_0_13740325_25496.cpp: In function 'int main()':
0_0_13740325_25496.cpp:36:7: error: 'cin' was not declared in this scope
while(cin>>n){
^
0_0_13740325_25496.cpp:41:2: error: expected ';' before '{' token
{cin>>b>>d;
^
0_0_13740325_25496.cpp:41:2: error: expected primary-expression before '{' token
0_0_13740325_25496.cpp:41:2: error: expected ')' before '{' token
0_0_13740325_25496.cpp:43:3: error: expected ';' before '{' token
{if(b>=val[j]&&d<=weight[j])
^
0_0_13740325_25496.cpp:43:3: error: expected primary-expression before '{' token
0_0_13740325_25496.cpp:43:3: error: expected ')' before '{' token
0_0_13740325_25496.cpp:49:5: error: 'bweight' was not declared in this scope
if(bweight[j])
^
0_0_13740325_25496.cpp:64:1: error: expected ';' before 'vall'
vall[i]=c/weight[i];
^
0_0_13740325_25496.cpp:64:20: error: expected ')' before ';' token
vall[i]=c/weight[i];
^
0_0_13740325_25496.cpp:68:1: error: 'cout' was not declared in this scope
cout<<z<<endl;
^
0_0_13740325_25496.cpp:68:10: error: 'endl' was not declared in this scope
cout<<z<<endl;
^
|