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_38970391_5215.cpp:71:11: error: redefinition of 'const int N'
   71 | const int N=2e3+5;
      |           ^
0_0_38970391_5215.cpp:6:11: note: 'const int N' previously defined here
    6 | const int N=2e3+5;
      |           ^
0_0_38970391_5215.cpp:72:4: error: redefinition of 'll dp [2005][2005]'
   72 | ll dp[N][N];
      |    ^~
0_0_38970391_5215.cpp:7:4: note: 'll dp [2005][2005]' previously declared here
    7 | ll dp[N][N];
      |    ^~
0_0_38970391_5215.cpp:73:4: error: redefinition of 'll minn [2005][2005]'
   73 | ll minn[N][N];
      |    ^~~~
0_0_38970391_5215.cpp:8:4: note: 'll minn [2005][2005]' previously declared here
    8 | ll minn[N][N];
      |    ^~~~
0_0_38970391_5215.cpp:74:4: error: redefinition of 'll n'
   74 | ll n,m;
      |    ^
0_0_38970391_5215.cpp:9:4: note: 'll n' previously declared here
    9 | ll n,m;
      |    ^
0_0_38970391_5215.cpp:74:6: error: redefinition of 'll m'
   74 | ll n,m;
      |      ^
0_0_38970391_5215.cpp:9:6: note: 'll m' previously declared here
    9 | ll n,m;
      |      ^
0_0_38970391_5215.cpp:75:10: error: redefinition of 'const ll M'
   75 | const ll M=1e5+5;
      |          ^
0_0_38970391_5215.cpp:10:10: note: 'const ll M' previously defined here
   10 | const ll M=1e5+5;
      |          ^
0_0_38970391_5215.cpp:76:4: error: redefinition of 'll a [100005]'
   76 | ll a[M];
      |    ^
0_0_38970391_5215.cpp:11:4: note: 'll a [100005]' previously declared here
   11 | ll a[M];
      |    ^
0_0_38970391_5215.cpp:77:4: error: redefinition of 'll read()'
   77 | ll read(){
      |    ^~~~
0_0_38970391_5215.cpp:12:4: note: 'll read()' previously defined here
   12 | ll read(){
      |    ^~~~
0_0_38970391_5215.cpp:88:6: error: redefinition of 'void solve()'
   88 | void solve() {
      |      ^~~~~
0_0_38970391_5215.cpp:23:6: note: 'void solve()' previously defined here
   23 | void solve() {
      |      ^~~~~
0_0_38970391_5215.cpp:125:5: error: redefinition of 'int main()'
  125 | int main() {
      |     ^~~~
0_0_38970391_5215.cpp:60:5: note: 'int main()' previously defined here
   60 | int main() {
      |     ^~~~
0_0_38970391_5215.cpp:136:11: error: redefinition of 'const int N'
  136 | const int N=2e3+5;
      |           ^
0_0_38970391_5215.cpp:6:11: note: 'const int N' previously defined here
    6 | const int N=2e3+5;
      |           ^
0_0_38970391_5215.cpp:137:4: error: redefinition of 'll dp [2005][2005]'
  137 | ll dp[N][N];
      |    ^~
0_0_38970391_5215.cpp:7:4: note: 'll dp [2005][2005]' previously declared here
    7 | ll dp[N][N];
      |    ^~
0_0_38970391_5215.cpp:138:4: error: redefinition of 'll minn [2005][2005]'
  138 | ll minn[N][N];
      |    ^~~~
0_0_38970391_5215.cpp:8:4: note: 'll minn [2005][2005]' previously declared here
    8 | ll minn[N][N];
      |    ^~~~
0_0_38970391_5215.cpp:139:4: error: redefinition of 'll n'
  139 | ll n,m;
      |    ^
0_0_38970391_5215.cpp:9:4: note: 'll n' previously declared here
    9 | ll n,m;
      |    ^
0_0_38970391_5215.cpp:139:6: error: redefinition of 'll m'
  139 | ll n,m;
      |      ^
0_0_38970391_5215.cpp:9:6: note: 'll m' previously declared here
    9 | ll n,m;
      |      ^
0_0_38970391_5215.cpp:140:10: error: redefinition of 'const ll M'
  140 | const ll M=1e5+5;
      |          ^
0_0_38970391_5215.cpp:10:10: note: 'const ll M' previously defined here
   10 | const ll M=1e5+5;
      |          ^
0_0_38970391_5215.cpp:141:4: error: redefinition of 'll a [100005]'
  141 | ll a[M];
      |    ^
0_0_38970391_5215.cpp:11:4: note: 'll a [100005]' previously declared here
   11 | ll a[M];
      |    ^
0_0_38970391_5215.cpp:142:4: error: redefinition of 'll read()'
  142 | ll read(){
      |    ^~~~
0_0_38970391_5215.cpp:12:4: note: 'll read()' previously defined here
   12 | ll read(){
      |    ^~~~
0_0_38970391_5215.cpp:153:6: error: redefinition of 'void solve()'
  153 | void solve() {
      |      ^~~~~
0_0_38970391_5215.cpp:23:6: note: 'void solve()' previously defined here
   23 | void solve() {
      |      ^~~~~
0_0_38970391_5215.cpp:190:5: error: redefinition of 'int main()'
  190 | int main() {
      |     ^~~~
0_0_38970391_5215.cpp:60:5: note: 'int main()' previously defined here
   60 | 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-12-01 12:16:01, Gzip enabled