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_33811937_7227.cpp:47:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_33811937_7227.cpp:93:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_33811937_7227.cpp:47:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_33811937_7227.cpp:50:11: error: redefinition of 'const int maxn'
 const int maxn = 5e6+10;
           ^
0_0_33811937_7227.cpp:4:11: note: 'const int maxn' previously defined here
 const int maxn = 5e6+10;
           ^
0_0_33811937_7227.cpp:51:10: error: redefinition of 'const long long int mod'
 const ll mod = 998244353;
          ^
0_0_33811937_7227.cpp:5:10: note: 'const long long int mod' previously defined here
 const ll mod = 998244353;
          ^
0_0_33811937_7227.cpp: In function 'long long int mypow(long long int, long long int)':
0_0_33811937_7227.cpp:53:4: error: redefinition of 'long long int mypow(long long int, long long int)'
 ll mypow(ll a,ll b){
    ^
0_0_33811937_7227.cpp:7:4: note: 'long long int mypow(long long int, long long int)' previously defined here
 ll mypow(ll a,ll b){
    ^
0_0_33811937_7227.cpp: At global scope:
0_0_33811937_7227.cpp:61:12: error: redefinition of 'long long int fac [5000010]'
 ll fac[maxn],inv[maxn];
            ^
0_0_33811937_7227.cpp:15:4: note: 'long long int fac [5000010]' previously declared here
 ll fac[maxn],inv[maxn];
    ^
0_0_33811937_7227.cpp:61:22: error: redefinition of 'long long int inv [5000010]'
 ll fac[maxn],inv[maxn];
                      ^
0_0_33811937_7227.cpp:15:14: note: 'long long int inv [5000010]' previously declared here
 ll fac[maxn],inv[maxn];
              ^
0_0_33811937_7227.cpp: In function 'void init()':
0_0_33811937_7227.cpp:62:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_33811937_7227.cpp:16:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_33811937_7227.cpp: In function 'long long int C(int, int)':
0_0_33811937_7227.cpp:68:4: error: redefinition of 'long long int C(int, int)'
 ll C(int n,int m){
    ^
0_0_33811937_7227.cpp:22:4: note: 'long long int C(int, int)' previously defined here
 ll C(int n,int m){
    ^
0_0_33811937_7227.cpp: At global scope:
0_0_33811937_7227.cpp:72:10: error: redefinition of 'long long int f [5000010]'
 ll f[maxn];
          ^
0_0_33811937_7227.cpp:26:4: note: 'long long int f [5000010]' previously declared here
 ll f[maxn];
    ^
0_0_33811937_7227.cpp: In function 'int main()':
0_0_33811937_7227.cpp:73:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33811937_7227.cpp:27:5: note: 'int main()' previously defined here
 int main(){
     ^
0_0_33811937_7227.cpp: At global scope:
0_0_33811937_7227.cpp:93:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_33811937_7227.cpp:96:11: error: redefinition of 'const int maxn'
 const int maxn = 5e6+10;
           ^
0_0_33811937_7227.cpp:4:11: note: 'const int maxn' previously defined here
 const int maxn = 5e6+10;
           ^
0_0_33811937_7227.cpp:97:10: error: redefinition of 'const long long int mod'
 const ll mod = 998244353;
          ^
0_0_33811937_7227.cpp:5:10: note: 'const long long int mod' previously defined here
 const ll mod = 998244353;
          ^
0_0_33811937_7227.cpp: In function 'long long int mypow(long long int, long long int)':
0_0_33811937_7227.cpp:99:4: error: redefinition of 'long long int mypow(long long int, long long int)'
 ll mypow(ll a,ll b){
    ^
0_0_33811937_7227.cpp:7:4: note: 'long long int mypow(long long int, long long int)' previously defined here
 ll mypow(ll a,ll b){
    ^
0_0_33811937_7227.cpp: At global scope:
0_0_33811937_7227.cpp:107:12: error: redefinition of 'long long int fac [5000010]'
 ll fac[maxn],inv[maxn];
            ^
0_0_33811937_7227.cpp:15:4: note: 'long long int fac [5000010]' previously declared here
 ll fac[maxn],inv[maxn];
    ^
0_0_33811937_7227.cpp:107:22: error: redefinition of 'long long int inv [5000010]'
 ll fac[maxn],inv[maxn];
                      ^
0_0_33811937_7227.cpp:15:14: note: 'long long int inv [5000010]' previously declared here
 ll fac[maxn],inv[maxn];
              ^
0_0_33811937_7227.cpp: In function 'void init()':
0_0_33811937_7227.cpp:108:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_33811937_7227.cpp:16:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_33811937_7227.cpp: In function 'long long int C(int, int)':
0_0_33811937_7227.cpp:114:4: error: redefinition of 'long long int C(int, int)'
 ll C(int n,int m){
    ^
0_0_33811937_7227.cpp:22:4: note: 'long long int C(int, int)' previously defined here
 ll C(int n,int m){
    ^
0_0_33811937_7227.cpp: At global scope:
0_0_33811937_7227.cpp:118:10: error: redefinition of 'long long int f [5000010]'
 ll f[maxn];
          ^
0_0_33811937_7227.cpp:26:4: note: 'long long int f [5000010]' previously declared here
 ll f[maxn];
    ^
0_0_33811937_7227.cpp: In function 'int main()':
0_0_33811937_7227.cpp:119:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_33811937_7227.cpp:27: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-07-02 15:53:16, Gzip enabled