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_15571954_3880.cpp: In function 'void dfs(int)':
0_0_15571954_3880.cpp:31:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:31:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:43:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:43:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:55:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:55:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:67:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:67:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:79:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:79:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:91:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:91:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:103:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:103:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:115:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:115:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:127:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:127:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:139:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:139:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:151:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:151:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:163:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:22: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:163:21: error: too many arguments to function 'int check()'
  ans=max(ans,check(a));dfs(n-1);
                     ^
0_0_15571954_3880.cpp:4:26: note: in definition of macro 'max'
 #define max(A,B) (A>=B?A:B)
                          ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp: In function 'int main()':
0_0_15571954_3880.cpp:181:22: error: too many arguments to function 'int check()'
         ans = check(a);
                      ^
0_0_15571954_3880.cpp:8:5: note: declared here
 int check(){
     ^
0_0_15571954_3880.cpp:182:16: error: too many arguments to function 'void dfs(int)'
         dfs(n,a);
                ^
0_0_15571954_3880.cpp:21:6: note: declared here
 void dfs(int n){
      ^


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-16 13:24:29, Gzip enabled