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_29635204_11650.cpp: In function 'int sc(int&)':
0_0_29635204_11650.cpp:142:5: error: redefinition of 'int sc(int&)'
 int sc(int &x){return scanf("%d", &x);}
     ^
0_0_29635204_11650.cpp:18:5: note: 'int sc(int&)' previously defined here
 int sc(int &x){return scanf("%d", &x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(unsigned int&)':
0_0_29635204_11650.cpp:143:5: error: redefinition of 'int sc(unsigned int&)'
 int sc(uint &x){return scanf("%u", &x);}
     ^
0_0_29635204_11650.cpp:19:5: note: 'int sc(unsigned int&)' previously defined here
 int sc(uint &x){return scanf("%u", &x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(long long int&)':
0_0_29635204_11650.cpp:144:5: error: redefinition of 'int sc(long long int&)'
 int sc(ll &x){return scanf("%lld", &x);}
     ^
0_0_29635204_11650.cpp:20:5: note: 'int sc(long long int&)' previously defined here
 int sc(ll &x){return scanf("%lld", &x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(long long unsigned int&)':
0_0_29635204_11650.cpp:145:5: error: redefinition of 'int sc(long long unsigned int&)'
 int sc(ull &x){return scanf("%llu", &x);}
     ^
0_0_29635204_11650.cpp:21:5: note: 'int sc(long long unsigned int&)' previously defined here
 int sc(ull &x){return scanf("%llu", &x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(double&)':
0_0_29635204_11650.cpp:146:5: error: redefinition of 'int sc(double&)'
 int sc(db &x){return scanf("%lf", &x);}
     ^
0_0_29635204_11650.cpp:22:5: note: 'int sc(double&)' previously defined here
 int sc(db &x){return scanf("%lf", &x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(long double&)':
0_0_29635204_11650.cpp:147:5: error: redefinition of 'int sc(long double&)'
 int sc(ld &x){return scanf("%Lf", &x);}
     ^
0_0_29635204_11650.cpp:23:5: note: 'int sc(long double&)' previously defined here
 int sc(ld &x){return scanf("%Lf", &x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(char*)':
0_0_29635204_11650.cpp:148:5: error: redefinition of 'int sc(char*)'
 int sc(char *x){return scanf("%s", x);}
     ^
0_0_29635204_11650.cpp:24:5: note: 'int sc(char*)' previously defined here
 int sc(char *x){return scanf("%s", x);}
     ^
0_0_29635204_11650.cpp: In function 'int sc(char&)':
0_0_29635204_11650.cpp:149:5: error: redefinition of 'int sc(char&)'
 int sc(char &x){return scanf("%c", &x);}
     ^
0_0_29635204_11650.cpp:25:5: note: 'int sc(char&)' previously defined here
 int sc(char &x){return scanf("%c", &x);}
     ^
0_0_29635204_11650.cpp: At global scope:
0_0_29635204_11650.cpp:150:45: error: redefinition of 'template<class T, class ... Args> void sc(T&, Args& ...)'
 template<typename T, typename... Args> void sc(T& v, Args&... args) { sc(v); sc(args...); }
                                             ^
0_0_29635204_11650.cpp:26:45: note: 'template<class T, class ... Args> void sc(T&, Args& ...)' previously declared here
 template<typename T, typename... Args> void sc(T& v, Args&... args) { sc(v); sc(args...); }
                                             ^
0_0_29635204_11650.cpp: In function 'void pr(const int&)':
0_0_29635204_11650.cpp:152:6: error: redefinition of 'void pr(const int&)'
 void pr(const int &x){printf("%d", x);}
      ^
0_0_29635204_11650.cpp:28:6: note: 'void pr(const int&)' previously defined here
 void pr(const int &x){printf("%d", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const unsigned int&)':
0_0_29635204_11650.cpp:153:6: error: redefinition of 'void pr(const unsigned int&)'
 void pr(const uint &x){printf("%u", x);}
      ^
0_0_29635204_11650.cpp:29:6: note: 'void pr(const unsigned int&)' previously defined here
 void pr(const uint &x){printf("%u", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const long long int&)':
0_0_29635204_11650.cpp:154:6: error: redefinition of 'void pr(const long long int&)'
 void pr(const ll &x){printf("%lld", x);}
      ^
0_0_29635204_11650.cpp:30:6: note: 'void pr(const long long int&)' previously defined here
 void pr(const ll &x){printf("%lld", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const long long unsigned int&)':
0_0_29635204_11650.cpp:155:6: error: redefinition of 'void pr(const long long unsigned int&)'
 void pr(const ull &x){printf("%llu", x);}
      ^
0_0_29635204_11650.cpp:31:6: note: 'void pr(const long long unsigned int&)' previously defined here
 void pr(const ull &x){printf("%llu", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const double&)':
0_0_29635204_11650.cpp:156:6: error: redefinition of 'void pr(const double&)'
 void pr(const db &x){printf("%.10lf", x);}
      ^
0_0_29635204_11650.cpp:32:6: note: 'void pr(const double&)' previously defined here
 void pr(const db &x){printf("%.10lf", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const long double&)':
0_0_29635204_11650.cpp:157:6: error: redefinition of 'void pr(const long double&)'
 void pr(const ld &x){printf("%.10Lf", x);}
      ^
0_0_29635204_11650.cpp:33:6: note: 'void pr(const long double&)' previously defined here
 void pr(const ld &x){printf("%.10Lf", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const char* const&)':
0_0_29635204_11650.cpp:158:6: error: redefinition of 'void pr(const char* const&)'
 void pr(const char* const &x){printf("%s", x);}
      ^
0_0_29635204_11650.cpp:34:6: note: 'void pr(const char* const&)' previously defined here
 void pr(const char* const &x){printf("%s", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(char* const&)':
0_0_29635204_11650.cpp:159:6: error: redefinition of 'void pr(char* const&)'
 void pr(char* const &x){printf("%s", x);}
      ^
0_0_29635204_11650.cpp:35:6: note: 'void pr(char* const&)' previously defined here
 void pr(char* const &x){printf("%s", x);}
      ^
0_0_29635204_11650.cpp: In function 'void pr(const char&)':
0_0_29635204_11650.cpp:160:6: error: redefinition of 'void pr(const char&)'
 void pr(const char &x){printf("%c", x);}
      ^
0_0_29635204_11650.cpp:36:6: note: 'void pr(const char&)' previously defined here
 void pr(const char &x){printf("%c", x);}
      ^
0_0_29635204_11650.cpp: At global scope:
0_0_29635204_11650.cpp:161:45: error: redefinition of 'template<class T, class ... Args> void pr(const T&, const Args& ...)'
 template<typename T, typename... Args> void pr(T const& v, Args const& ... args) { pr(v); pr(' '); pr(args...); }
                                             ^
0_0_29635204_11650.cpp:37:45: note: 'template<class T, class ... Args> void pr(const T&, const Args& ...)' previously declared here
 template<typename T, typename... Args> void pr(T const& v, Args const& ... args) { pr(v); pr(' '); pr(args...); }
                                             ^
0_0_29635204_11650.cpp:166:11: error: redefinition of 'const int MAXN'
 const int MAXN=55;
           ^
0_0_29635204_11650.cpp:42:11: note: 'const int MAXN' previously defined here
 const int MAXN=55;
           ^
0_0_29635204_11650.cpp:167:11: error: redefinition of 'const int MOD'
 const int MOD=1e9+7;
           ^
0_0_29635204_11650.cpp:43:11: note: 'const int MOD' previously defined here
 const int MOD=1e9+7;
           ^
0_0_29635204_11650.cpp:168:5: error: redefinition of 'int N'
 int N,M,Len[MAXN],Pow[50],A[MAXN];
     ^
0_0_29635204_11650.cpp:44:5: note: 'int N' previously declared here
 int N,M,Len[MAXN],Pow[50],A[MAXN];
     ^
0_0_29635204_11650.cpp:168:7: error: redefinition of 'int M'
 int N,M,Len[MAXN],Pow[50],A[MAXN];
       ^
0_0_29635204_11650.cpp:44:7: note: 'int M' previously declared here
 int N,M,Len[MAXN],Pow[50],A[MAXN];
       ^
0_0_29635204_11650.cpp:168:17: error: redefinition of 'int Len [55]'
 int N,M,Len[MAXN],Pow[50],A[MAXN];
                 ^
0_0_29635204_11650.cpp:44:9: note: 'int Len [55]' previously declared here
 int N,M,Len[MAXN],Pow[50],A[MAXN];
         ^
0_0_29635204_11650.cpp:168:25: error: redefinition of 'int Pow [50]'
 int N,M,Len[MAXN],Pow[50],A[MAXN];
                         ^
0_0_29635204_11650.cpp:44:19: note: 'int Pow [50]' previously declared here
 int N,M,Len[MAXN],Pow[50],A[MAXN];
                   ^
0_0_29635204_11650.cpp:168:33: error: redefinition of 'int A [55]'
 int N,M,Len[MAXN],Pow[50],A[MAXN];
                                 ^
0_0_29635204_11650.cpp:44:27: note: 'int A [55]' previously declared here
 int N,M,Len[MAXN],Pow[50],A[MAXN];
                           ^
0_0_29635204_11650.cpp:169:8: error: redefinition of 'struct Matrix'
 struct Matrix
        ^
0_0_29635204_11650.cpp:45:8: error: previous definition of 'struct Matrix'
 struct Matrix
        ^
0_0_29635204_11650.cpp:183:6: error: invalid type in declaration before ',' token
 }BASE,Ans;
      ^
0_0_29635204_11650.cpp:183:6: error: conflicting declaration 'int BASE'
0_0_29635204_11650.cpp:59:2: note: previous declaration as 'Matrix BASE'
 }BASE,Ans;
  ^
0_0_29635204_11650.cpp:183:7: error: conflicting declaration 'int Ans'
 }BASE,Ans;
       ^
0_0_29635204_11650.cpp:59:7: note: previous declaration as 'Matrix Ans'
 }BASE,Ans;
       ^
0_0_29635204_11650.cpp: In function 'Matrix Mul(Matrix, Matrix)':
0_0_29635204_11650.cpp:184:8: error: redefinition of 'Matrix Mul(Matrix, Matrix)'
 Matrix Mul(Matrix a,Matrix b)
        ^
0_0_29635204_11650.cpp:60:8: note: 'Matrix Mul(Matrix, Matrix)' previously defined here
 Matrix Mul(Matrix a,Matrix b)
        ^
0_0_29635204_11650.cpp: In function 'bool check(int, int)':
0_0_


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-29 20:03:40, Gzip enabled