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_32940815_24637.cpp: In function 'void dfs(int)':
0_0_32940815_24637.cpp:19:64: error: invalid types 'int [205][205][int [205]]' for array subscript
                 dp[cur][j] = max(dp[cur][j],dp[cur][j-k] + dp[v][k]);
                                                                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-17 05:46:57, Gzip enabled