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_24701005_9806.cpp: In function 'll powmod(ll, ll)':
0_0_24701005_9806.cpp:12:51: 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_24701005_9806.cpp: In function 'int linear_seq::solve(ll, VI, VI)':
0_0_24701005_9806.cpp:27:28: error: 'assert' was not declared in this scope
         assert(SZ(a)==SZ(b));
                            ^


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-12-02 11:05:18, Gzip enabled