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_35452742_16300.cpp:7:5: error: 'chars' does not name a type
     chars[50];
     ^
0_0_35452742_16300.cpp:9:5: error: 'doublez' does not name a type
     doublez;
     ^
0_0_35452742_16300.cpp:11:5: error: 'doubled' does not name a type
     doubled;
     ^
0_0_35452742_16300.cpp: In function 'int main()':
0_0_35452742_16300.cpp:49:36: error: 'struct stduent' has no member named 's'
              scanf("%s%lf%lf",S[i].s,&S[i].z,&S[i].d);
                                    ^
0_0_35452742_16300.cpp:49:44: error: 'struct stduent' has no member named 'z'
              scanf("%s%lf%lf",S[i].s,&S[i].z,&S[i].d);
                                            ^
0_0_35452742_16300.cpp:49:52: error: 'struct stduent' has no member named 'd'
              scanf("%s%lf%lf",S[i].s,&S[i].z,&S[i].d);
                                                    ^
0_0_35452742_16300.cpp:51:24: error: 'struct stduent' has no member named 'd'
              sum+=S[i].d*S[i].z;
                        ^
0_0_35452742_16300.cpp:51:31: error: 'struct stduent' has no member named 'z'
              sum+=S[i].d*S[i].z;
                               ^
0_0_35452742_16300.cpp:53:24: error: 'struct stduent' has no member named 'z'
              zum+=S[i].z;
                        ^
0_0_35452742_16300.cpp:55:21: error: 'struct stduent' has no member named 'd'
             if(S[i].d<60)
                     ^


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-29 15:26:34, Gzip enabled