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_17808726_8084.cpp:54:5: error: stray '\243' in program
     add(1,y,1); 
     ^
0_0_17808726_8084.cpp:54:5: error: stray '\273' in program
0_0_17808726_8084.cpp: In function 'int cal(int)':
0_0_17808726_8084.cpp:17:12: error: invalid use of non-lvalue array
         sum+=a[t];
            ^
0_0_17808726_8084.cpp:17:12: error:   in evaluation of 'operator+=(int, int [100002])'
0_0_17808726_8084.cpp: In function 'int main()':
0_0_17808726_8084.cpp:39:23: error: 'memset' was not declared in this scope
   memset(a,0,sizeof(a));
                       ^
0_0_17808726_8084.cpp:55:4: error: expected ';' before '}' token
    }
    ^
0_0_17808726_8084.cpp:57:9: error: 'q' was not declared in this scope
   while(q--)
         ^
0_0_17808726_8084.cpp:64:26: error: too many arguments to function 'int cal(int)'
             if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
                          ^
0_0_17808726_8084.cpp:12:5: note: declared here
 int cal(int t)//计算1-t的和
     ^
0_0_17808726_8084.cpp:64:39: error: too many arguments to function 'int cal(int)'
             if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
                                       ^
0_0_17808726_8084.cpp:12:5: note: declared here
 int cal(int t)//计算1-t的和
     ^
0_0_17808726_8084.cpp:64:64: error: too many arguments to function 'int cal(int)'
             if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
                                                                ^
0_0_17808726_8084.cpp:12:5: note: declared here
 int cal(int t)//计算1-t的和
     ^
0_0_17808726_8084.cpp:64:77: error: too many arguments to function 'int cal(int)'
             if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
                                                                             ^
0_0_17808726_8084.cpp:12:5: note: declared here
 int cal(int t)//计算1-t的和
     ^


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-27 00:02:05, Gzip enabled