0_0_18504438_11543.cpp:26:16: error: stray '\243' in program
if(dp[j]>dp[j-offer[i].a]*£¨1-offer[i].b)£©
^
0_0_18504438_11543.cpp:26:16: error: stray '\250' in program
0_0_18504438_11543.cpp:26:16: error: stray '\243' in program
0_0_18504438_11543.cpp:26:16: error: stray '\251' in program
0_0_18504438_11543.cpp:5:9: error: 'structOffer' does not name a type
typedef structOffer
^
0_0_18504438_11543.cpp:9:2: error: 'Offer' does not name a type
}Offer;
^
0_0_18504438_11543.cpp:10:1: error: 'Offer' does not name a type
Offer offer[1001];
^
0_0_18504438_11543.cpp: In function 'int main()':
0_0_18504438_11543.cpp:20:27: error: 'offer' was not declared in this scope
scanf("%d%lf",&offer[i].a,&offer[i].b);
^
0_0_18504438_11543.cpp:24:23: error: 'offer' was not declared in this scope
for(j=n;j>=offer[i].a;j--)
^
0_0_18504438_11543.cpp:32:1: error: expected ';' before '}' token
}
^
|