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_33889752_21725.cpp:39:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_33889752_21725.cpp:39:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_33889752_21725.cpp:43:11: error: redefinition of 'const int maxn'
 const int maxn = 1e2 + 10;
           ^
0_0_33889752_21725.cpp:5:11: note: 'const int maxn' previously defined here
 const int maxn = 1e2 + 10;
           ^
0_0_33889752_21725.cpp:44:11: error: redefinition of 'const int INF'
 const int INF = 0x3f3f3f3f;
           ^
0_0_33889752_21725.cpp:6:11: note: 'const int INF' previously defined here
 const int INF = 0x3f3f3f3f;
           ^
0_0_33889752_21725.cpp:45:22: error: redefinition of 'int dp [110][110][10]'
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                      ^
0_0_33889752_21725.cpp:7:5: note: 'int dp [110][110][10]' previously declared here
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
     ^
0_0_33889752_21725.cpp:45:31: error: redefinition of 'int v [110]'
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                               ^
0_0_33889752_21725.cpp:7:25: note: 'int v [110]' previously declared here
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                         ^
0_0_33889752_21725.cpp:45:40: error: redefinition of 'int w [110]'
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                                        ^
0_0_33889752_21725.cpp:7:34: note: 'int w [110]' previously declared here
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                                  ^
0_0_33889752_21725.cpp:45:51: error: redefinition of 'int num [110]'
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                                                   ^
0_0_33889752_21725.cpp:7:43: note: 'int num [110]' previously declared here
 int dp[maxn][maxn][10], v[maxn], w[maxn], num[maxn];
                                           ^
0_0_33889752_21725.cpp:46:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_33889752_21725.cpp:8:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_33889752_21725.cpp:46:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_33889752_21725.cpp:8:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_33889752_21725.cpp: In function 'int main()':
0_0_33889752_21725.cpp:47:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33889752_21725.cpp:9: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-09-28 10:16:01, Gzip enabled