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_28844347_27948.cpp: In function 'bool cmp(p, p)':
0_0_28844347_27948.cpp:9:13: error: no matching function for call to 'p::p(bool)'
  p(al.j>bl.j)
             ^
0_0_28844347_27948.cpp:9:13: note: candidates are:
0_0_28844347_27948.cpp:3:8: note: p::p()
 struct p{
        ^
0_0_28844347_27948.cpp:3:8: note:   candidate expects 0 arguments, 1 provided
0_0_28844347_27948.cpp:3:8: note: constexpr p::p(const p&)
0_0_28844347_27948.cpp:3:8: note:   no known conversion for argument 1 from 'bool' to 'const p&'
0_0_28844347_27948.cpp:3:8: note: constexpr p::p(p&&)
0_0_28844347_27948.cpp:3:8: note:   no known conversion for argument 1 from 'bool' to 'p&&'
0_0_28844347_27948.cpp: In function 'int main()':
0_0_28844347_27948.cpp:20:9: error: 'bg' was not declared in this scope
    cin>>bg[i].bh>>s1[i].r>>s1[i].j;
         ^


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-23 05:48:53, Gzip enabled