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_39768832_23274.cpp:144:15: error: redefinition of 'constexpr const long long int base'
  144 | constexpr int base=131,mod=998244353;
      |               ^~~~
0_0_39768832_23274.cpp:7:15: note: 'constexpr const long long int base' previously defined here
    7 | constexpr int base=131,mod=998244353;
      |               ^~~~
0_0_39768832_23274.cpp:144:24: error: redefinition of 'constexpr const long long int mod'
  144 | constexpr int base=131,mod=998244353;
      |                        ^~~
0_0_39768832_23274.cpp:7:24: note: 'constexpr const long long int mod' previously defined here
    7 | constexpr int base=131,mod=998244353;
      |                        ^~~
0_0_39768832_23274.cpp:145:5: error: redefinition of 'long long int pw [500005]'
  145 | int pw[500005];
      |     ^~
0_0_39768832_23274.cpp:8:5: note: 'long long int pw [500005]' previously declared here
    8 | int pw[500005];
      |     ^~
0_0_39768832_23274.cpp:146:8: error: redefinition of 'struct Fenwick'
  146 | struct Fenwick{
      |        ^~~~~~~
0_0_39768832_23274.cpp:9:8: note: previous definition of 'struct Fenwick'
    9 | struct Fenwick{
      |        ^~~~~~~
0_0_39768832_23274.cpp:161:12: error: redefinition of 'long long int twoDCountPoint(std::vector<std::pair<long long int, long long int> >&, std::vector<std::array<long long int, 4> >&)'
  161 | inline int twoDCountPoint(vector<pair<int,int>>& p,vector<array<int,4>>& q)
      |            ^~~~~~~~~~~~~~
0_0_39768832_23274.cpp:24:12: note: 'long long int twoDCountPoint(std::vector<std::pair<long long int, long long int> >&, std::vector<std::array<long long int, 4> >&)' previously defined here
   24 | inline int twoDCountPoint(vector<pair<int,int>>& p,vector<array<int,4>>& q)
      |            ^~~~~~~~~~~~~~
0_0_39768832_23274.cpp:200:6: error: redefinition of 'void solve()'
  200 | void solve()
      |      ^~~~~
0_0_39768832_23274.cpp:63:6: note: 'void solve()' previously defined here
   63 | void solve()
      |      ^~~~~
0_0_39768832_23274.cpp:261:8: error: redefinition of 'int main()'
  261 | signed main()
      |        ^~~~
0_0_39768832_23274.cpp:124:8: note: 'int main()' previously defined here
  124 | signed main()
      |        ^~~~
0_0_39768832_23274.cpp:281:15: error: redefinition of 'constexpr const long long int base'
  281 | constexpr int base=131,mod=998244353;
      |               ^~~~
0_0_39768832_23274.cpp:7:15: note: 'constexpr const long long int base' previously defined here
    7 | constexpr int base=131,mod=998244353;
      |               ^~~~
0_0_39768832_23274.cpp:281:24: error: redefinition of 'constexpr const long long int mod'
  281 | constexpr int base=131,mod=998244353;
      |                        ^~~
0_0_39768832_23274.cpp:7:24: note: 'constexpr const long long int mod' previously defined here
    7 | constexpr int base=131,mod=998244353;
      |                        ^~~
0_0_39768832_23274.cpp:282:5: error: redefinition of 'long long int pw [500005]'
  282 | int pw[500005];
      |     ^~
0_0_39768832_23274.cpp:8:5: note: 'long long int pw [500005]' previously declared here
    8 | int pw[500005];
      |     ^~
0_0_39768832_23274.cpp:283:8: error: redefinition of 'struct Fenwick'
  283 | struct Fenwick{
      |        ^~~~~~~
0_0_39768832_23274.cpp:9:8: note: previous definition of 'struct Fenwick'
    9 | struct Fenwick{
      |        ^~~~~~~
0_0_39768832_23274.cpp:298:12: error: redefinition of 'long long int twoDCountPoint(std::vector<std::pair<long long int, long long int> >&, std::vector<std::array<long long int, 4> >&)'
  298 | inline int twoDCountPoint(vector<pair<int,int>>& p,vector<array<int,4>>& q)
      |            ^~~~~~~~~~~~~~
0_0_39768832_23274.cpp:24:12: note: 'long long int twoDCountPoint(std::vector<std::pair<long long int, long long int> >&, std::vector<std::array<long long int, 4> >&)' previously defined here
   24 | inline int twoDCountPoint(vector<pair<int,int>>& p,vector<array<int,4>>& q)
      |            ^~~~~~~~~~~~~~
0_0_39768832_23274.cpp:337:6: error: redefinition of 'void solve()'
  337 | void solve()
      |      ^~~~~
0_0_39768832_23274.cpp:63:6: note: 'void solve()' previously defined here
   63 | void solve()
      |      ^~~~~
0_0_39768832_23274.cpp:398:8: error: redefinition of 'int main()'
  398 | signed main()
      |        ^~~~
0_0_39768832_23274.cpp:124:8: note: 'int main()' previously defined here
  124 | signed 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-12-27 07:13:44, Gzip enabled