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