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_23366947_20825.cpp: In function 'int main()':
0_0_23366947_20825.cpp:35:7: error: no match for 'operator!' (operand type is 'node')
    if(!id[a]&&!id[b]){
       ^
0_0_23366947_20825.cpp:35:7: note: candidate is:
0_0_23366947_20825.cpp:35:7: note: operator!(bool) <built-in>
0_0_23366947_20825.cpp:35:7: note:   no known conversion for argument 1 from 'node' to 'bool'
0_0_23366947_20825.cpp:35:15: error: no match for 'operator!' (operand type is 'node')
    if(!id[a]&&!id[b]){
               ^
0_0_23366947_20825.cpp:35:15: note: candidate is:
0_0_23366947_20825.cpp:35:15: note: operator!(bool) <built-in>
0_0_23366947_20825.cpp:35:15: note:   no known conversion for argument 1 from 'node' to 'bool'
0_0_23366947_20825.cpp:39:7: error: no match for 'operator!' (operand type is 'node')
    if(!id[a]){
       ^
0_0_23366947_20825.cpp:39:7: note: candidate is:
0_0_23366947_20825.cpp:39:7: note: operator!(bool) <built-in>
0_0_23366947_20825.cpp:39:7: note:   no known conversion for argument 1 from 'node' to 'bool'
0_0_23366947_20825.cpp:41:13: error: no match for 'operator!' (operand type is 'node')
    }else if(!id[b]){
             ^
0_0_23366947_20825.cpp:41:13: note: candidate is:
0_0_23366947_20825.cpp:41:13: note: operator!(bool) <built-in>
0_0_23366947_20825.cpp:41:13: note:   no known conversion for argument 1 from 'node' to 'bool'


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 21:26:11, Gzip enabled