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_34153409_29103.cpp: In function 'int amles(int, int, int)':
0_0_34153409_29103.cpp:7:5: error: 'm1' was not declared in this scope
  if(m1||m2){
     ^
0_0_34153409_29103.cpp:7:9: error: 'm2' was not declared in this scope
  if(m1||m2){
         ^
0_0_34153409_29103.cpp:11:21: error: expression cannot be used as a function
  return (t+2*m+3(m+1)/5+n+n/4-n/100+n/400)%7;
                     ^
0_0_34153409_29103.cpp: In function 'int main()':
0_0_34153409_29103.cpp:30:4: error: 'n0' was not declared in this scope
 if(n0||m0||t==0||n>10000||m>12||t>dir[m]){
    ^
0_0_34153409_29103.cpp:30:8: error: 'm0' was not declared in this scope
 if(n0||m0||t==0||n>10000||m>12||t>dir[m]){
        ^


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-04 08:30:48, Gzip enabled