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_38052895_31010.cpp:41:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_38052895_31010.cpp:41:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_38052895_31010.cpp:44:11: error: redefinition of 'const int mod'
 const int mod = 998244353;
           ^
0_0_38052895_31010.cpp:4:11: note: 'const int mod' previously defined here
 const int mod = 998244353;
           ^
0_0_38052895_31010.cpp:45:11: error: redefinition of 'const int N'
 const int N = 105;
           ^
0_0_38052895_31010.cpp:5:11: note: 'const int N' previously defined here
 const int N = 105;
           ^
0_0_38052895_31010.cpp:47:11: error: redefinition of 'int f [105][105]'
 int f[N][N], a[N][N], n, m;
           ^
0_0_38052895_31010.cpp:7:5: note: 'int f [105][105]' previously declared here
 int f[N][N], a[N][N], n, m;
     ^
0_0_38052895_31010.cpp:47:20: error: redefinition of 'int a [105][105]'
 int f[N][N], a[N][N], n, m;
                    ^
0_0_38052895_31010.cpp:7:14: note: 'int a [105][105]' previously declared here
 int f[N][N], a[N][N], n, m;
              ^
0_0_38052895_31010.cpp:47:23: error: redefinition of 'int n'
 int f[N][N], a[N][N], n, m;
                       ^
0_0_38052895_31010.cpp:7:23: note: 'int n' previously declared here
 int f[N][N], a[N][N], n, m;
                       ^
0_0_38052895_31010.cpp:47:26: error: redefinition of 'int m'
 int f[N][N], a[N][N], n, m;
                          ^
0_0_38052895_31010.cpp:7:26: note: 'int m' previously declared here
 int f[N][N], a[N][N], n, m;
                          ^
0_0_38052895_31010.cpp: In function 'int dfs(int, int)':
0_0_38052895_31010.cpp:49:5: error: redefinition of 'int dfs(int, int)'
 int dfs(int x, int y) {
     ^
0_0_38052895_31010.cpp:9:5: note: 'int dfs(int, int)' previously defined here
 int dfs(int x, int y) {
     ^
0_0_38052895_31010.cpp: In function 'int main()':
0_0_38052895_31010.cpp:60:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_38052895_31010.cpp:20: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-22 21:29:12, Gzip enabled