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_17913600_8429.cpp:97:25: error: stray '#' in program
 <pre class="brush:cpp ">#include <iostream>
                         ^
0_0_17913600_8429.cpp:96:2: error: expected unqualified-id before '<' token
 }</pre>
  ^
0_0_17913600_8429.cpp:113:5: error: redefinition of 'int n'
 int n,m,ans;
     ^
0_0_17913600_8429.cpp:17:5: note: 'int n' previously declared here
 int n,m,ans;
     ^
0_0_17913600_8429.cpp:113:7: error: redefinition of 'int m'
 int n,m,ans;
       ^
0_0_17913600_8429.cpp:17:7: note: 'int m' previously declared here
 int n,m,ans;
       ^
0_0_17913600_8429.cpp:113:9: error: redefinition of 'int ans'
 int n,m,ans;
         ^
0_0_17913600_8429.cpp:17:9: note: 'int ans' previously declared here
 int n,m,ans;
         ^
0_0_17913600_8429.cpp:114:18: error: redefinition of 'int mp [105][105]'
 int mp[maxn][maxn];
                  ^
0_0_17913600_8429.cpp:20:5: note: 'int mp [105][105]' previously declared here
 int mp[maxn][maxn];
     ^
0_0_17913600_8429.cpp:115:18: error: redefinition of 'int dp [105][105]'
 int dp[maxn][maxn];
                  ^
0_0_17913600_8429.cpp:21:5: note: 'int dp [105][105]' previously declared here
 int dp[maxn][maxn];
     ^
0_0_17913600_8429.cpp: In function 'void solve()':
0_0_17913600_8429.cpp:117:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_17913600_8429.cpp:35:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_17913600_8429.cpp: In function 'int main()':
0_0_17913600_8429.cpp:140:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17913600_8429.cpp:78:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-28 00:52:14, Gzip enabled