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_26057105_10465.cpp: In function 'void read(int&)':
0_0_26057105_10465.cpp:222:13: error: redefinition of 'void read(int&)'
 inline void read(int &x)
             ^
0_0_26057105_10465.cpp:10:13: note: 'void read(int&)' previously defined here
 inline void read(int &x)
             ^
0_0_26057105_10465.cpp: In function 'void print(int)':
0_0_26057105_10465.cpp:231:13: error: redefinition of 'void print(int)'
 inline void print(int x){
             ^
0_0_26057105_10465.cpp:19:13: note: 'void print(int)' previously defined here
 inline void print(int x){
             ^
0_0_26057105_10465.cpp: At global scope:
0_0_26057105_10465.cpp:246:20: error: redefinition of 'LL dp [510][1500][10]'
 LL dp[510][1500][10];
                    ^
0_0_26057105_10465.cpp:34:4: note: 'LL dp [510][1500][10]' previously declared here
 LL dp[510][1500][10];
    ^
0_0_26057105_10465.cpp:248:13: error: redefinition of 'char str [300]'
 char str[300];
             ^
0_0_26057105_10465.cpp:36:6: note: 'char str [300]' previously declared here
 char str[300];
      ^
0_0_26057105_10465.cpp: In function 'LL color(char)':
0_0_26057105_10465.cpp:250:11: error: redefinition of 'LL color(char)'
 inline LL color(char ch){
           ^
0_0_26057105_10465.cpp:38:11: note: 'LL color(char)' previously defined here
 inline LL color(char ch){
           ^
0_0_26057105_10465.cpp: At global scope:
0_0_26057105_10465.cpp:257:12: error: redefinition of 'int Log [300]'
 int Log[300];
            ^
0_0_26057105_10465.cpp:45:5: note: 'int Log [300]' previously declared here
 int Log[300];
     ^
0_0_26057105_10465.cpp:259:8: error: redefinition of 'struct Point'
 struct Point{
        ^
0_0_26057105_10465.cpp:47:8: error: previous definition of 'struct Point'
 struct Point{
        ^
0_0_26057105_10465.cpp: In function 'Point get_pos(int, Point, int, int)':
0_0_26057105_10465.cpp:266:7: error: redefinition of 'Point get_pos(int, Point, int, int)'
 Point get_pos(int id,Point P,int L,int Len){
       ^
0_0_26057105_10465.cpp:54:7: note: 'Point get_pos(int, Point, int, int)' previously defined here
 Point get_pos(int id,Point P,int L,int Len){
       ^
0_0_26057105_10465.cpp: At global scope:
0_0_26057105_10465.cpp:303:10: error: redefinition of 'LL col [10]'
 LL col[10];
          ^
0_0_26057105_10465.cpp:91:4: note: 'LL col [10]' previously declared here
 LL col[10];
    ^
0_0_26057105_10465.cpp: In function 'LL get_ans(int, int, int)':
0_0_26057105_10465.cpp:304:4: error: redefinition of 'LL get_ans(int, int, int)'
 LL get_ans(int x,int y,int n){
    ^
0_0_26057105_10465.cpp:92:4: note: 'LL get_ans(int, int, int)' previously defined here
 LL get_ans(int x,int y,int n){
    ^
0_0_26057105_10465.cpp: In function 'void solve(int)':
0_0_26057105_10465.cpp:315:6: error: redefinition of 'void solve(int)'
 void solve(int L){
      ^
0_0_26057105_10465.cpp:103:6: note: 'void solve(int)' previously defined here
 void solve(int L){
      ^
0_0_26057105_10465.cpp: In function 'int get_col(int, int, int)':
0_0_26057105_10465.cpp:332:5: error: redefinition of 'int get_col(int, int, int)'
 int get_col(int x,int y,int L){
     ^
0_0_26057105_10465.cpp:120:5: note: 'int get_col(int, int, int)' previously defined here
 int get_col(int x,int y,int L){
     ^
0_0_26057105_10465.cpp: At global scope:
0_0_26057105_10465.cpp:371:8: error: redefinition of 'struct Elem'
 struct Elem{
        ^
0_0_26057105_10465.cpp:159:8: error: previous definition of 'struct Elem'
 struct Elem{
        ^
0_0_26057105_10465.cpp:382:15: error: redefinition of 'std::map<Elem, int> mp'
 map<Elem,int> mp;
               ^
0_0_26057105_10465.cpp:170:15: note: 'std::map<Elem, int> mp' previously declared here
 map<Elem,int> mp;
               ^
0_0_26057105_10465.cpp: In function 'int main()':
0_0_26057105_10465.cpp:385:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_26057105_10465.cpp:173: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-22 23:34:39, Gzip enabled