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_25622226_12070.cpp:22:21: error: redefinition of 'long long int n'
 long long n,m,i,j,t,n,vis[1000005],dp[1000005],fac[1000005],dp2[1000005],b[1000005],x,y,mod=1e9+7,fa[1000005];
                     ^
0_0_25622226_12070.cpp:22:11: note: 'long long int n' previously declared here
 long long n,m,i,j,t,n,vis[1000005],dp[1000005],fac[1000005],dp2[1000005],b[1000005],x,y,mod=1e9+7,fa[1000005];
           ^
0_0_25622226_12070.cpp: In function 'long long int calc(long long int, long long int)':
0_0_25622226_12070.cpp:30:73: error: 'qp' was not declared in this scope
  if (fa[x]==y) return dp[x]; else return dp2[x]*dp[x]%mod*qp(dp[y],mod-2)*(bi[x].size()-1);
                                                                         ^
0_0_25622226_12070.cpp: In function 'void dfs2(long long int, long long int)':
0_0_25622226_12070.cpp:56:1: error: a function-definition is not allowed here before '{' token
 {
 ^
0_0_25622226_12070.cpp:100:1: error: expected '}' at end of input
 }
 ^


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-08 16:26:39, Gzip enabled