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_23045743_19508.cpp:25:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_23045743_19508.cpp:25:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_23045743_19508.cpp:29:5: error: redefinition of 'int n'
 int n,i,j,a[N],b[N],f[N][N];
     ^
0_0_23045743_19508.cpp:5:5: note: 'int n' previously declared here
 int n,i,j,a[N],b[N],f[N][N];
     ^
0_0_23045743_19508.cpp:29:7: error: redefinition of 'int i'
 int n,i,j,a[N],b[N],f[N][N];
       ^
0_0_23045743_19508.cpp:5:7: note: 'int i' previously declared here
 int n,i,j,a[N],b[N],f[N][N];
       ^
0_0_23045743_19508.cpp:29:9: error: redefinition of 'int j'
 int n,i,j,a[N],b[N],f[N][N];
         ^
0_0_23045743_19508.cpp:5:9: note: 'int j' previously declared here
 int n,i,j,a[N],b[N],f[N][N];
         ^
0_0_23045743_19508.cpp:29:14: error: redefinition of 'int a [5050]'
 int n,i,j,a[N],b[N],f[N][N];
              ^
0_0_23045743_19508.cpp:5:11: note: 'int a [5050]' previously declared here
 int n,i,j,a[N],b[N],f[N][N];
           ^
0_0_23045743_19508.cpp:29:19: error: redefinition of 'int b [5050]'
 int n,i,j,a[N],b[N],f[N][N];
                   ^
0_0_23045743_19508.cpp:5:16: note: 'int b [5050]' previously declared here
 int n,i,j,a[N],b[N],f[N][N];
                ^
0_0_23045743_19508.cpp:29:27: error: redefinition of 'int f [5050][5050]'
 int n,i,j,a[N],b[N],f[N][N];
                           ^
0_0_23045743_19508.cpp:5:21: note: 'int f [5050][5050]' previously declared here
 int n,i,j,a[N],b[N],f[N][N];
                     ^
0_0_23045743_19508.cpp: In function 'int dp(int, int)':
0_0_23045743_19508.cpp:30:5: error: redefinition of 'int dp(int, int)'
 int dp(int l,int r){
     ^
0_0_23045743_19508.cpp:6:5: note: 'int dp(int, int)' previously defined here
 int dp(int l,int r){
     ^
0_0_23045743_19508.cpp: In function 'int main()':
0_0_23045743_19508.cpp:42:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_23045743_19508.cpp:18: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-23 06:41:58, Gzip enabled