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_33538101_27038.cpp: In function 'long double get(long long int, long long int)':
0_0_33538101_27038.cpp:27:16: error: 'struct node' has no member named 'b'
  return (li[x].b-li[y].b)/(li[y].k-li[x].k);
                ^
0_0_33538101_27038.cpp:27:24: error: 'struct node' has no member named 'b'
  return (li[x].b-li[y].b)/(li[y].k-li[x].k);
                        ^
0_0_33538101_27038.cpp: In function 'int main()':
0_0_33538101_27038.cpp:49:25: error: 'struct node' has no member named 'b'
     li[cnt].k=k,li[cnt].b=b;
                         ^
0_0_33538101_27038.cpp:55:20: error: 'struct node' has no member named 'b'
   li[n].k=-1,li[n].b=0,li[n].w=1;
                    ^
0_0_33538101_27038.cpp:66:50: error: 'struct node' has no member named 'b'
   for(int i=1;i<=cnt;i++) li[i].k=li[i].id=li[i].b=li[i].w=0; 
                                                  ^


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-16 09:20:14, Gzip enabled