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_22325231_27309.cpp: In function 'void dfs_2(int, int)':
0_0_22325231_27309.cpp:63:9: error: 'temp' was not declared in this scope
         temp = max(0,dp[fa].s_val2-max(0,dp[now].s_back-2*v_e[now]));
         ^
0_0_22325231_27309.cpp:65:9: error: 'temp' was not declared in this scope
         temp = max(0,dp[fa].s_val1-max(0,dp[now].s_back-2*v_e[now]));
         ^


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-17 10:38:39, Gzip enabled