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_24438307_15529.cpp:44:14: error: use of enum 'Result' without previous declaration
 typedef enum Result Result;
              ^
0_0_24438307_15529.cpp:44:27: error: invalid type in declaration before ';' token
 typedef enum Result Result;
                           ^
0_0_24438307_15529.cpp:45:6: error: using typedef-name 'Result' after 'enum'
 enum Result {FAILED, INFEASIBLE, UNBOUNDED, FEASIBLE, OPTIMAL};
      ^
0_0_24438307_15529.cpp:44:21: note: 'Result' has a previous declaration here
 typedef enum Result Result;
                     ^


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 16:05:59, Gzip enabled