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_17201092_18651.cpp: In function 'int main()':
0_0_17201092_18651.cpp:131:5: error: redefinition of 'int main()'
 int main(){ 
     ^
0_0_17201092_18651.cpp:62:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_17201092_18651.cpp: At global scope:
0_0_17201092_18651.cpp:146:5: error: redefinition of 'int n'
 int n,q;
     ^
0_0_17201092_18651.cpp:5:11: note: 'int n' previously declared here
 int cas,m,n,sr,sc,er,ec,pr,pc,ans;
           ^
0_0_17201092_18651.cpp:147:33: error: conflicting declaration 'int map [20005]'
 int p[20005],va[20005],map[20005];
                                 ^
0_0_17201092_18651.cpp:7:5: note: previous declaration as 'int map [10][10]'
 int map[10][10],dvis[10][10][10][10];
     ^
0_0_17201092_18651.cpp: In function 'int main()':
0_0_17201092_18651.cpp:179:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17201092_18651.cpp:62:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_17201092_18651.cpp:213:36: error: lvalue required as increment operand
                     map[find(a[i])]++;
                                    ^
0_0_17201092_18651.cpp:219:31: error: invalid operands of types 'int [10]' and 'int' to binary 'operator%'
                     if(map[t]%2!=0&&t!=n){//假设x和y的和都是t,x^t^y^t=t^y,t被抵消掉,但如果奇数次,t未知并且未被抵消就不能得到答案
                               ^
0_0_17201092_18651.cpp: In function 'int main()':
0_0_17201092_18651.cpp:262:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17201092_18651.cpp:62:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_17201092_18651.cpp: At global scope:
0_0_17201092_18651.cpp:297:27: error: conflicting declaration 'int c [305][305]'
 int d[305][305],c[305][305];
                           ^
0_0_17201092_18651.cpp:241:5: note: previous declaration as 'int c [1002][1002]'
 int c[1002][1002];
     ^
0_0_17201092_18651.cpp: In function 'int main()':
0_0_17201092_18651.cpp:300:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17201092_18651.cpp:62:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_17201092_18651.cpp: At global scope:
0_0_17201092_18651.cpp:358:16: error: conflicting declaration 'll c [55][55]'
 ll c[maxn][maxn],n,m,x;
                ^
0_0_17201092_18651.cpp:241:5: note: previous declaration as 'int c [1002][1002]'
 int c[1002][1002];
     ^
0_0_17201092_18651.cpp:358:18: error: conflicting declaration 'll n'
 ll c[maxn][maxn],n,m,x;
                  ^
0_0_17201092_18651.cpp:5:11: note: previous declaration as 'int n'
 int cas,m,n,sr,sc,er,ec,pr,pc,ans;
           ^
0_0_17201092_18651.cpp:358:20: error: conflicting declaration 'll m'
 ll c[maxn][maxn],n,m,x;
                    ^
0_0_17201092_18651.cpp:5:9: note: previous declaration as 'int m'
 int cas,m,n,sr,sc,er,ec,pr,pc,ans;
         ^
0_0_17201092_18651.cpp: In function 'int main()':
0_0_17201092_18651.cpp:418:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17201092_18651.cpp:62:5: note: 'int main()' previously defined here
 int main(){
     ^


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 11:49:31, Gzip enabled