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_32355139_29454.cpp:5:2: error: 'string' does not name a type
  string a;
  ^
0_0_32355139_29454.cpp: In function 'int main()':
0_0_32355139_29454.cpp:15:2: error: 'cin' was not declared in this scope
  cin>>t;
  ^
0_0_32355139_29454.cpp:21:14: error: 'struct clock' has no member named 'a'
    cin>>m[i].a;
              ^
0_0_32355139_29454.cpp:22:23: error: 'struct clock' has no member named 'a'
    m[i].c=6*(10*(m[i].a[3]-'0')+m[i].a[4]-'0');
                       ^
0_0_32355139_29454.cpp:22:38: error: 'struct clock' has no member named 'a'
    m[i].c=6*(10*(m[i].a[3]-'0')+m[i].a[4]-'0');
                                      ^
0_0_32355139_29454.cpp:23:20: error: 'struct clock' has no member named 'a'
    m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
                    ^
0_0_32355139_29454.cpp:23:35: error: 'struct clock' has no member named 'a'
    m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
                                   ^
0_0_32355139_29454.cpp:23:58: error: 'struct clock' has no member named 'a'
    m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
                                                          ^
0_0_32355139_29454.cpp:23:73: error: 'struct clock' has no member named 'a'
    m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
                                                                         ^
0_0_32355139_29454.cpp:23:119: error: 'struct clock' has no member named 'a'
    m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
                                                                                                                       ^
0_0_32355139_29454.cpp:23:134: error: 'struct clock' has no member named 'a'
    m[i].b=10*(m[i].a[0]-'0')+m[i].a[1]-'0'>=12?(10*(m[i].a[0]-'0')+m[i].a[1]-'0'-12)*30+double(m[i].c)/12.0:(10*(m[i].a[0]-'0')+m[i].a[1]-'0')*30+double(m[i].c)/12.0;
                                                                                                                                      ^
0_0_32355139_29454.cpp:25:21: error: 'struct clock' has no member named 'a'
    m[i].e==10*(m[i].a[0]-'0')+m[i].a[1]-'0';
                     ^
0_0_32355139_29454.cpp:25:36: error: 'struct clock' has no member named 'a'
    m[i].e==10*(m[i].a[0]-'0')+m[i].a[1]-'0';
                                    ^
0_0_32355139_29454.cpp:67:5: error: 'cout' was not declared in this scope
     cout<<m[i].a<<endl; 
     ^
0_0_32355139_29454.cpp:67:16: error: 'struct clock' has no member named 'a'
     cout<<m[i].a<<endl; 
                ^
0_0_32355139_29454.cpp:67:19: error: 'endl' was not declared in this scope
     cout<<m[i].a<<endl; 
                   ^


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-10-06 20:20:11, Gzip enabled