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_37404937_12962.cpp:18:3: error: stray '\357' in program
   for(int i=0;i<22;i++){
   ^
0_0_37404937_12962.cpp:18:3: error: stray '\274' in program
0_0_37404937_12962.cpp:18:3: error: stray '\210' in program
0_0_37404937_12962.cpp: In function 'int main()':
0_0_37404937_12962.cpp:18:9: error: expected '(' before 'int'
   for(int i=0;i<22;i++){
         ^
0_0_37404937_12962.cpp:19:11: error: request for member 'a' in 'a', which is of non-class type 'bb [30]'
    cin>>a.a>>a.s>>a.b
           ^
0_0_37404937_12962.cpp:19:16: error: request for member 's' in 'a', which is of non-class type 'bb [30]'
    cin>>a.a>>a.s>>a.b
                ^
0_0_37404937_12962.cpp:19:21: error: request for member 'b' in 'a', which is of non-class type 'bb [30]'
    cin>>a.a>>a.s>>a.b
                     ^
0_0_37404937_12962.cpp:21:20: error: 'e' was not declared in this scope
     scanf("%d-%d",&e,%f);
                    ^
0_0_37404937_12962.cpp:21:22: error: expected primary-expression before '%' token
     scanf("%d-%d",&e,%f);
                      ^
0_0_37404937_12962.cpp:21:23: error: 'f' was not declared in this scope
     scanf("%d-%d",&e,%f);
                       ^
0_0_37404937_12962.cpp:22:7: error: request for member 't' in 'a', which is of non-class type 'bb [30]'
     a.t+=f-e;
       ^
0_0_37404937_12962.cpp:23:10: error: request for member 'a' in 'a', which is of non-class type 'bb [30]'
     if(a.a==0||a.b==0||a.s==0){
          ^
0_0_37404937_12962.cpp:23:18: error: request for member 'b' in 'a', which is of non-class type 'bb [30]'
     if(a.a==0||a.b==0||a.s==0){
                  ^
0_0_37404937_12962.cpp:23:26: error: request for member 's' in 'a', which is of non-class type 'bb [30]'
     if(a.a==0||a.b==0||a.s==0){
                          ^
0_0_37404937_12962.cpp:28:23: error: expected primary-expression before '%' token
   scanf("%d-%d-%d",&b,%c,%d);
                       ^
0_0_37404937_12962.cpp:28:26: error: expected primary-expression before '%' token
   scanf("%d-%d-%d",&b,%c,%d);
                          ^
0_0_37404937_12962.cpp:32:11: error: request for member 'a' in 'a', which is of non-class type 'bb [30]'
   cout<<a.a<<a.s<<a.b
           ^
0_0_37404937_12962.cpp:32:16: error: request for member 's' in 'a', which is of non-class type 'bb [30]'
   cout<<a.a<<a.s<<a.b
                ^
0_0_37404937_12962.cpp:32:21: error: request for member 'b' in 'a', which is of non-class type 'bb [30]'
   cout<<a.a<<a.s<<a.b
                     ^


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-17 10:21:17, Gzip enabled