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_39412236_17621.cpp: In function 'bool cmp(node, node)':
0_0_39412236_17621.cpp:8:10: error: 'struct node' has no member named 'tim'; did you mean 'time'?
    8 |     if(x.tim==y.tim)
      |          ^~~
      |          time
0_0_39412236_17621.cpp:8:17: error: 'struct node' has no member named 'tim'; did you mean 'time'?
    8 |     if(x.tim==y.tim)
      |                 ^~~
      |                 time
0_0_39412236_17621.cpp:9:14: error: 'struct node' has no member named 'typ'; did you mean 'type'?
    9 |     return x.typ<y.typ;
      |              ^~~
      |              type
0_0_39412236_17621.cpp:9:20: error: 'struct node' has no member named 'typ'; did you mean 'type'?
    9 |     return x.typ<y.typ;
      |                    ^~~
      |                    type
0_0_39412236_17621.cpp:10:14: error: 'struct node' has no member named 'tim'; did you mean 'time'?
   10 |     return x.tim<y.tim;
      |              ^~~
      |              time
0_0_39412236_17621.cpp:10:20: error: 'struct node' has no member named 'tim'; did you mean 'time'?
   10 |     return x.tim<y.tim;
      |                    ^~~
      |                    time
0_0_39412236_17621.cpp: In function 'int main()':
0_0_39412236_17621.cpp:14:10: error: 'n' was not declared in this scope
   14 |     cin>>n>>t;
      |          ^


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-09-28 01:20:01, Gzip enabled