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_22594224_32379.cpp:85:2: error: stray '#' in program
 }#define _CRT_SECURE_NO_WARNINGS
  ^
0_0_22594224_32379.cpp:85:3: error: 'define' does not name a type
 }#define _CRT_SECURE_NO_WARNINGS
   ^
0_0_22594224_32379.cpp:91:11: error: redefinition of 'const int maxn'
 const int maxn = 100 + 10;
           ^
0_0_22594224_32379.cpp:7:11: note: 'const int maxn' previously defined here
 const int maxn = 100 + 10;
           ^
0_0_22594224_32379.cpp:92:11: error: redefinition of 'const int mod'
 const int mod = 1e9 + 7;
           ^
0_0_22594224_32379.cpp:8:11: note: 'const int mod' previously defined here
 const int mod = 1e9 + 7;
           ^
0_0_22594224_32379.cpp:95:13: error: redefinition of 'int arr [110]'
 int arr[maxn], used[maxn];
             ^
0_0_22594224_32379.cpp:11:5: note: 'int arr [110]' previously declared here
 int arr[maxn], used[maxn];
     ^
0_0_22594224_32379.cpp:95:25: error: redefinition of 'int used [110]'
 int arr[maxn], used[maxn];
                         ^
0_0_22594224_32379.cpp:11:16: note: 'int used [110]' previously declared here
 int arr[maxn], used[maxn];
                ^
0_0_22594224_32379.cpp:96:12: error: redefinition of 'int inv [105]'
 int inv[105];
            ^
0_0_22594224_32379.cpp:12:5: note: 'int inv [105]' previously declared here
 int inv[105];
     ^
0_0_22594224_32379.cpp:98:5: error: redefinition of 'int n'
 int n;
     ^
0_0_22594224_32379.cpp:14:5: note: 'int n' previously declared here
 int n;
     ^
0_0_22594224_32379.cpp:100:12: error: redefinition of 'LL cnt [110]'
 LL cnt[maxn];
            ^
0_0_22594224_32379.cpp:16:4: note: 'LL cnt [110]' previously declared here
 LL cnt[maxn];
    ^
0_0_22594224_32379.cpp: In function 'void pre_for_solve()':
0_0_22594224_32379.cpp:103:6: error: redefinition of 'void pre_for_solve()'
 void pre_for_solve() {
      ^
0_0_22594224_32379.cpp:19:6: note: 'void pre_for_solve()' previously defined here
 void pre_for_solve() {
      ^
0_0_22594224_32379.cpp: At global scope:
0_0_22594224_32379.cpp:113:13: error: redefinition of 'LL fac2 [110]'
 LL fac2[maxn];
             ^
0_0_22594224_32379.cpp:29:4: note: 'LL fac2 [110]' previously declared here
 LL fac2[maxn];
    ^
0_0_22594224_32379.cpp: In function 'void get_fac()':
0_0_22594224_32379.cpp:114:6: error: redefinition of 'void get_fac()'
 void get_fac() {
      ^
0_0_22594224_32379.cpp:30:6: note: 'void get_fac()' previously defined here
 void get_fac() {
      ^
0_0_22594224_32379.cpp: In function 'void init()':
0_0_22594224_32379.cpp:123:6: error: redefinition of 'void init()'
 void init() {
      ^
0_0_22594224_32379.cpp:39:6: note: 'void init()' previously defined here
 void init() {
      ^
0_0_22594224_32379.cpp: In function 'int main()':
0_0_22594224_32379.cpp:137:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_22594224_32379.cpp:53: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 17:29:12, Gzip enabled