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_38577012_28752.cpp: In function 'void dfs1(int)':
0_0_38577012_28752.cpp:69:12: error: 'fac' was not declared in this scope
  f[x]=f[x]*fac[c]%mod;
            ^~~
0_0_38577012_28752.cpp:69:12: note: suggested alternative: 'fa'
  f[x]=f[x]*fac[c]%mod;
            ^~~
            fa
0_0_38577012_28752.cpp:71:13: error: 'inv' was not declared in this scope
   f[x]=f[x]*inv[c.second]%mod;
             ^~~
0_0_38577012_28752.cpp:71:13: note: suggested alternative: 'int'
   f[x]=f[x]*inv[c.second]%mod;
             ^~~
             int
0_0_38577012_28752.cpp:72:16: error: 'ha' was not declared in this scope
  pw1[x]=qsmm(C,ha[x]);
                ^~
0_0_38577012_28752.cpp:72:16: note: suggested alternative: 'fa'
  pw1[x]=qsmm(C,ha[x]);
                ^~
                fa
0_0_38577012_28752.cpp: In function 'void dfs2(int)':
0_0_38577012_28752.cpp:83:11: error: 'inv' was not declared in this scope
   cur=cur*inv[e[x].size()-1]%mod*fac[e[x].size()]%mod;
           ^~~
0_0_38577012_28752.cpp:83:11: note: suggested alternative: 'int'
   cur=cur*inv[e[x].size()-1]%mod*fac[e[x].size()]%mod;
           ^~~
           int
0_0_38577012_28752.cpp:83:34: error: 'fac' was not declared in this scope
   cur=cur*inv[e[x].size()-1]%mod*fac[e[x].size()]%mod;
                                  ^~~
0_0_38577012_28752.cpp:83:34: note: suggested alternative: 'fa'
   cur=cur*inv[e[x].size()-1]%mod*fac[e[x].size()]%mod;
                                  ^~~
                                  fa
0_0_38577012_28752.cpp:86:24: error: 'cue' was not declared in this scope
   if(!vis[d]) ans=(ans+cue)%mod,vis[d]=1;
                        ^~~
0_0_38577012_28752.cpp:86:24: note: suggested alternative: 'cur'
   if(!vis[d]) ans=(ans+cue)%mod,vis[d]=1;
                        ^~~
                        cur
0_0_38577012_28752.cpp:95:33: error: 'fac' was not declared in this scope
   g[y]=f[x]*qsm(f[y],mod-2)%mod*fac[c]%mod*inv[c-1]%mod*inv[siz]%mod*fac[siz-1]%mod;
                                 ^~~
0_0_38577012_28752.cpp:95:33: note: suggested alternative: 'fa'
   g[y]=f[x]*qsm(f[y],mod-2)%mod*fac[c]%mod*inv[c-1]%mod*inv[siz]%mod*fac[siz-1]%mod;
                                 ^~~
                                 fa
0_0_38577012_28752.cpp:95:44: error: 'inv' was not declared in this scope
   g[y]=f[x]*qsm(f[y],mod-2)%mod*fac[c]%mod*inv[c-1]%mod*inv[siz]%mod*fac[siz-1]%mod;
                                            ^~~
0_0_38577012_28752.cpp:95:44: note: suggested alternative: 'int'
   g[y]=f[x]*qsm(f[y],mod-2)%mod*fac[c]%mod*inv[c-1]%mod*inv[siz]%mod*fac[siz-1]%mod;
                                            ^~~
                                            int
0_0_38577012_28752.cpp: In function 'int main()':
0_0_38577012_28752.cpp:105:2: error: 'fac' was not declared in this scope
  fac[0]=inv[0]=1;
  ^~~
0_0_38577012_28752.cpp:105:2: note: suggested alternative: 'fa'
  fac[0]=inv[0]=1;
  ^~~
  fa
0_0_38577012_28752.cpp:105:9: error: 'inv' was not declared in this scope
  fac[0]=inv[0]=1;
         ^~~
0_0_38577012_28752.cpp:105:9: note: suggested alternative: 'int'
  fac[0]=inv[0]=1;
         ^~~
         int


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-12-04 17:54:32, Gzip enabled