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_37849595_21374.cpp: In function 'void dfs2(long long int, long long int)':
0_0_37849595_21374.cpp:36:47: error: 'to' was not declared in this scope
         if(d[v] >= 3 && d[u] >= 4) (ans+=C2(d[to]-1)*(C2(shou[fr]-(d[to]-1))-(tui[fr]-C2(d[to]-1))+mod)%mod*(d[fr]-3)%mod)%=mod;
                                               ^
0_0_37849595_21374.cpp:36:63: error: 'fr' was not declared in this scope
         if(d[v] >= 3 && d[u] >= 4) (ans+=C2(d[to]-1)*(C2(shou[fr]-(d[to]-1))-(tui[fr]-C2(d[to]-1))+mod)%mod*(d[fr]-3)%mod)%=mod;
                                                               ^


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-26 02:19:31, Gzip enabled