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_29484712_21534.cpp: In function 'int main()':
0_0_29484712_21534.cpp:7:2: error: 'nbsp' was not declared in this scope
     int s[300],t[300],a[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};
  ^
0_0_29484712_21534.cpp:13:52: error: 'i' was not declared in this scope
         if(i%4==0&&i%100!=0||i%400==0)
                                                    ^
0_0_29484712_21534.cpp:15:49: error: 'else' without a previous 'if'
         else
                                                 ^
0_0_29484712_21534.cpp:17:51: error: 'i' was not declared in this scope
         s[i-2013]=sum;
                                                   ^
0_0_29484712_21534.cpp:22:52: error: 'i' was not declared in this scope
         if(i%4==0&&i%100!=0||i%400==0)
                                                    ^
0_0_29484712_21534.cpp:24:49: error: 'else' without a previous 'if'
         else
                                                 ^
0_0_29484712_21534.cpp:26:56: error: 'i' was not declared in this scope
         t[2013-i]=sum;
                                                        ^
0_0_29484712_21534.cpp:38:49: error: break statement not within loop or switch
         break;
                                                 ^
0_0_29484712_21534.cpp:47:73: error: 'else' without a previous 'if'
             else
                                                                         ^
0_0_29484712_21534.cpp:54:97: error: 'else' without a previous 'if'
                 else
                                                                                                 ^
0_0_29484712_21534.cpp:55:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_29484712_21534.cpp:59:49: error: 'else' without a previous 'if'
         else
                                                 ^
0_0_29484712_21534.cpp:68:73: error: 'else' without a previous 'if'
             else
                                                                         ^
0_0_29484712_21534.cpp:69:73: error: break statement not within loop or switch
             break;
                                                                         ^
0_0_29484712_21534.cpp:79:49: error: break statement not within loop or switch
         break;
                                                 ^
0_0_29484712_21534.cpp:88:73: error: 'else' without a previous 'if'
             else
                                                                         ^
0_0_29484712_21534.cpp:95:97: error: 'else' without a previous 'if'
                 else
                                                                                                 ^
0_0_29484712_21534.cpp:96:97: error: break statement not within loop or switch
                 break;
                                                                                                 ^
0_0_29484712_21534.cpp:101:49: error: 'else' without a previous 'if'
         else
                                                 ^
0_0_29484712_21534.cpp:111:73: error: 'else' without a previous 'if'
             else
                                                                         ^
0_0_29484712_21534.cpp:112:73: error: break statement not within loop or switch
             break;
                                                                         ^


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-11-23 01:12:22, Gzip enabled