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_33848205_8176.cpp:5:11: error: redefinition of 'const int mod'
 const int mod=998244353;
           ^
0_0_33848205_8176.cpp:4:11: note: 'const int mod' previously defined here
 const int mod=1e9+7;
           ^
0_0_33848205_8176.cpp: In member function 'void Solve::update(int, int, int, int, int&)':
0_0_33848205_8176.cpp:52:37: error: 'MOD' was not declared in this scope
   tr[rt]=(1ll*tr[ls[rt]]*V[mid-l+1]%MOD+tr[rs[rt]])%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-26 03:48:23, Gzip enabled