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_39578898_1655.cpp: In function 'void dfs(int, int)':
0_0_39578898_1655.cpp:168:22: error: invalid types 'long long int[int]' for array subscript
  168 |                 dp[u][0] = t;
      |                      ^
0_0_39578898_1655.cpp:174:22: error: invalid types 'long long int[int]' for array subscript
  174 |                 dp[u][1] = t;
      |                      ^
0_0_39578898_1655.cpp: In function 'void solve()':
0_0_39578898_1655.cpp:191:20: error: invalid types 'long long int[int]' for array subscript
  191 |         ans = dp[1][0] * 2 % 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-23 03:13:43, Gzip enabled