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_32902312_13993.cpp:17:14: error: expected unqualified-id before 'double'
     double a,double b;
              ^
0_0_32902312_13993.cpp: In function 'set sloveset(double, double)':
0_0_32902312_13993.cpp:27:14: error: 'struct set' has no member named 'b'
         seta.b=(360-d-b)/a;
              ^
0_0_32902312_13993.cpp:30:14: error: 'struct set' has no member named 'b'
         seta.b=(d-b)/a;
              ^
0_0_32902312_13993.cpp:34:13: error: 'struct set' has no member named 'b'
     if(seta.b>60) seta.b=60;
             ^
0_0_32902312_13993.cpp:34:24: error: 'struct set' has no member named 'b'
     if(seta.b>60) seta.b=60;
                        ^
0_0_32902312_13993.cpp:35:21: error: 'struct set' has no member named 'b'
     if(seta.a>=seta.b) seta.a=seta.b=0;//之前这句放到了if(seta.a<0)if(seta.b>60)前面了
                     ^
0_0_32902312_13993.cpp:35:36: error: 'struct set' has no member named 'b'
     if(seta.a>=seta.b) seta.a=seta.b=0;//之前这句放到了if(seta.a<0)if(seta.b>60)前面了
                                    ^
0_0_32902312_13993.cpp: In function 'set intersection(set, set)':
0_0_32902312_13993.cpp:44:7: error: 'struct set' has no member named 'b'
     p.b=a.b<b.b ?a.b:b.b;
       ^
0_0_32902312_13993.cpp:44:11: error: 'struct set' has no member named 'b'
     p.b=a.b<b.b ?a.b:b.b;
           ^
0_0_32902312_13993.cpp:44:15: error: 'struct set' has no member named 'b'
     p.b=a.b<b.b ?a.b:b.b;
               ^
0_0_32902312_13993.cpp:44:20: error: 'struct set' has no member named 'b'
     p.b=a.b<b.b ?a.b:b.b;
                    ^
0_0_32902312_13993.cpp:44:24: error: 'struct set' has no member named 'b'
     p.b=a.b<b.b ?a.b:b.b;
                        ^
0_0_32902312_13993.cpp:45:14: error: 'struct set' has no member named 'b'
     if(p.a>p.b) p.a=p.b=0;
              ^
0_0_32902312_13993.cpp:45:23: error: 'struct set' has no member named 'b'
     if(p.a>p.b) p.a=p.b=0;
                       ^
0_0_32902312_13993.cpp: In function 'int main()':
0_0_32902312_13993.cpp:68:44: error: 'struct set' has no member named 'b'
                             time+=ensemble.b-ensemble.a; 
                                            ^


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-27 05:27:11, Gzip enabled