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_13294797_5851.cpp:15:71: error: stray '@' in program
 if(m==2&&day==29 &&!  ( ( (year+18)%4==0&& (year+18)0!=0)||( (year+18)@0==0) ) )
                                                                       ^
0_0_13294797_5851.cpp:25:33: error: stray '@' in program
 if( ( year%4==0&&year0!=0)||year@0==0)
                                 ^
0_0_13294797_5851.cpp:33:30: error: stray '@' in program
 if( ( tmp%4==0&&tmp0!=0)||tmp@0==0 )
                              ^
0_0_13294797_5851.cpp:40:33: error: stray '@' in program
 if( ( year%4==0&&year0!=0)||year@0==0)
                                 ^
0_0_13294797_5851.cpp: In function 'int main()':
0_0_13294797_5851.cpp:15:53: error: expected ')' before numeric constant
 if(m==2&&day==29 &&!  ( ( (year+18)%4==0&& (year+18)0!=0)||( (year+18)@0==0) ) )
                                                     ^
0_0_13294797_5851.cpp:20:1: error: expected ')' before 'int'
 int sum=0;
 ^
0_0_13294797_5851.cpp:20:10: error: expected ')' before ';' token
 int sum=0;
          ^
0_0_13294797_5851.cpp:25:18: error: 'year0' was not declared in this scope
 if( ( year%4==0&&year0!=0)||year@0==0)
                  ^
0_0_13294797_5851.cpp:25:34: error: expected ')' before numeric constant
 if( ( year%4==0&&year0!=0)||year@0==0)
                                  ^
0_0_13294797_5851.cpp:26:1: error: 'sum' was not declared in this scope
 sum++;
 ^
0_0_13294797_5851.cpp:27:1: error: 'sum' was not declared in this scope
 sum+=365;
 ^
0_0_13294797_5851.cpp:30:1: error: 'sum' was not declared in this scope
 sum+=365;
 ^
0_0_13294797_5851.cpp:33:17: error: 'tmp0' was not declared in this scope
 if( ( tmp%4==0&&tmp0!=0)||tmp@0==0 )
                 ^
0_0_13294797_5851.cpp:33:31: error: expected ')' before numeric constant
 if( ( tmp%4==0&&tmp0!=0)||tmp@0==0 )
                               ^
0_0_13294797_5851.cpp:40:18: error: 'year0' was not declared in this scope
 if( ( year%4==0&&year0!=0)||year@0==0)
                  ^
0_0_13294797_5851.cpp:40:34: error: expected ')' before numeric constant
 if( ( year%4==0&&year0!=0)||year@0==0)
                                  ^


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-01 14:01:58, Gzip enabled