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_15857383_27043.cpp: In function 'int main()':
0_0_15857383_27043.cpp:44:33: error: request for member 'xuehao' in 'stu', which is of non-class type 'STU [100010]'
             scanf("%d%s%d",&stu.xuehao[i],stu.name[i],&stu.score[i]);
                                 ^
0_0_15857383_27043.cpp:44:47: error: request for member 'name' in 'stu', which is of non-class type 'STU [100010]'
             scanf("%d%s%d",&stu.xuehao[i],stu.name[i],&stu.score[i]);
                                               ^
0_0_15857383_27043.cpp:44:60: error: request for member 'score' in 'stu', which is of non-class type 'STU [100010]'
             scanf("%d%s%d",&stu.xuehao[i],stu.name[i],&stu.score[i]);
                                                            ^
0_0_15857383_27043.cpp:60:37: error: request for member 'xuehao' in 'stu', which is of non-class type 'STU [100010]'
             printf("%d %s %d\n",stu.xuehao[i],stu.name[i],stu.score[i]);
                                     ^
0_0_15857383_27043.cpp:60:51: error: request for member 'name' in 'stu', which is of non-class type 'STU [100010]'
             printf("%d %s %d\n",stu.xuehao[i],stu.name[i],stu.score[i]);
                                                   ^
0_0_15857383_27043.cpp:60:63: error: request for member 'score' in 'stu', which is of non-class type 'STU [100010]'
             printf("%d %s %d\n",stu.xuehao[i],stu.name[i],stu.score[i]);
                                                               ^


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-12-02 09:19:27, Gzip enabled