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_34052641_30618.cpp:7:21: error: 'N' was not declared in this scope
 bitset<100010>ans,f[N];
                     ^
0_0_34052641_30618.cpp: In function 'void dfs(int, int)':
0_0_34052641_30618.cpp:9:5: error: 'f' was not declared in this scope
     f[p]<<=w.at(p);
     ^
0_0_34052641_30618.cpp: In function 'int solve(int)':
0_0_34052641_30618.cpp:39:5: error: 'f' was not declared in this scope
     f[p].reset(),f[p][0]=1,dfs(p,0),ans|=f[p];
     ^


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-29 19:14:08, Gzip enabled