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_39125133_27787.cpp:8:15: error: expected ';' at end of member declaration
    8 |         int x,y.z;
      |               ^
      |                ;
0_0_39125133_27787.cpp:8:16: error: expected unqualified-id before '.' token
    8 |         int x,y.z;
      |                ^
0_0_39125133_27787.cpp: In function 'int main()':
0_0_39125133_27787.cpp:25:30: error: 'struct node' has no member named 'z'
   25 |                         a[i].z=i+1;
      |                              ^
0_0_39125133_27787.cpp:39:36: error: 'struct node' has no member named 'z'
   39 |                         cout<<a[i].z<<" "<<a[i+1].z<<" "<<a[i+2].z<<'\n';
      |                                    ^
0_0_39125133_27787.cpp:39:51: error: 'struct node' has no member named 'z'
   39 |                         cout<<a[i].z<<" "<<a[i+1].z<<" "<<a[i+2].z<<'\n';
      |                                                   ^
0_0_39125133_27787.cpp:39:66: error: 'struct node' has no member named 'z'
   39 |                         cout<<a[i].z<<" "<<a[i+1].z<<" "<<a[i+2].z<<'\n';
      |                                                                  ^


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-06-26 20:21:29, Gzip enabled