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_20991914_4396.cpp:23:42: error: stray '#' in program
     if((month==2)&&(day==29)&&(!rui(year+18))&&(rui(year)))
                                          ^
0_0_20991914_4396.cpp:30:26: error: stray '#' in program
        for(i=1; i<=18; i++)
                          ^
0_0_20991914_4396.cpp:30:31: error: stray '#' in program
        for(i=1; i<=18; i++)
                               ^
0_0_20991914_4396.cpp:35:25: error: stray '#' in program
                     sum+=366;
                         ^
0_0_20991914_4396.cpp:36:26: error: stray '#' in program
                 else sum+=365;
                          ^
0_0_20991914_4396.cpp:40:29: error: stray '#' in program
                 if(rui(year+1)==1)
                             ^
0_0_20991914_4396.cpp:41:25: error: stray '#' in program
                     sum+=366;
                         ^
0_0_20991914_4396.cpp:42:26: error: stray '#' in program
                 else sum+=365;
                          ^
0_0_20991914_4396.cpp:44:23: error: stray '#' in program
             year=year+1;
                       ^
0_0_20991914_4396.cpp: In function 'int main()':
0_0_20991914_4396.cpp:23:45: error: expected ')' before ';' token
     if((month==2)&&(day==29)&&(!rui(year+18))&&(rui(year)))
                                             ^
0_0_20991914_4396.cpp:23:45: error: expected ')' before ';' token
0_0_20991914_4396.cpp:23:45: error: expected ')' before ';' token
0_0_20991914_4396.cpp:23:48: error: expected ';' before ')' token
     if((month==2)&&(day==29)&&(!rui(year+18))&&(rui(year)))
                                                ^
0_0_20991914_4396.cpp:27:5: error: 'else' without a previous 'if'
     else
     ^
0_0_20991914_4396.cpp:30:29: error: expected ')' before ';' token
        for(i=1; i<=18; i++)
                             ^
0_0_20991914_4396.cpp:30:32: error: lvalue required as unary '&' operand
        for(i=1; i<=18; i++)
                                ^
0_0_20991914_4396.cpp:30:35: error: expected primary-expression before ')' token
        for(i=1; i<=18; i++)
                                   ^


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-05 10:30:16, Gzip enabled