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_26027648_13356.cpp: In function 'LL powmod(LL, LL)':
0_0_26027648_13356.cpp:28:52: error: 'assert' was not declared in this scope
 LL powmod(LL a, LL b) {LL res=1;a%=MOD; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a%MOD;a=a*a%MOD;}return res;}
                                                    ^
0_0_26027648_13356.cpp: At global scope:
0_0_26027648_13356.cpp:146:1: error: 'bitset' does not name a type
 bitset<SN+1> dp[MAXN];
 ^
0_0_26027648_13356.cpp: In function 'void dfsDP(int)':
0_0_26027648_13356.cpp:154:5: error: 'dp' was not declared in this scope
     dp[x].reset();
     ^
0_0_26027648_13356.cpp:154:5: note: suggested alternative:
0_0_26027648_13356.cpp:53:9: note:   'LCA::dp'
     int dp[Maxn*2][25];
         ^


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 19:01:49, Gzip enabled