F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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
 }
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 23:53:53, Gzip enabled