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_34397807_11247.cpp: In function 'bool is_valid(int, int, int)':
0_0_34397807_11247.cpp:16:13: error: 'isr' was not declared in this scope
  if(isr(year)&&day>month2[month])return false;
             ^
0_0_34397807_11247.cpp:17:14: error: 'isr' was not declared in this scope
  if(!isr(year)&&day>month1[month])return false;
              ^
0_0_34397807_11247.cpp: In function 'int main()':
0_0_34397807_11247.cpp:37:19: error: 'isr' was not declared in this scope
      sum=(isr(year)?month2[month]:month1[month])-day;
                   ^
0_0_34397807_11247.cpp:53:19: error: 'isr' was not declared in this scope
      sum=(isr(1751)?month2[month]:month1[month])-day;
                   ^
0_0_34397807_11247.cpp:73:20: error: 'isr' was not declared in this scope
       sum+=isr(1752)?month2[i]:month1[i];
                    ^
0_0_34397807_11247.cpp:77:17: error: 'isr' was not declared in this scope
       sum+=isr(i)?366:365;
                 ^
0_0_34397807_11247.cpp:81:20: error: 'isr' was not declared in this scope
       sum+=isr(year)?month2[i]:month1[i];
                    ^
0_0_34397807_11247.cpp:90:20: error: 'isr' was not declared in this scope
       sum+=isr(1752)?month2[i]:month1[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-11-25 04:46:05, Gzip enabled