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_21596757_25761.cpp:8:1: error: expected ',' or ';' before 'const'
 const int MOD = 998244353;
 ^
0_0_21596757_25761.cpp: In member function 'void Trie::solve()':
0_0_21596757_25761.cpp:69:57: error: 'MOD' was not declared in this scope
               dp[i+1][nxt[j][a]][s|ed[0][nxt[j][a]]] %= MOD;
                                                         ^
0_0_21596757_25761.cpp:80:34: error: 'MOD' was not declared in this scope
      ans = (ans + dp[m][i][j]) % MOD;
                                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 19:44:37, Gzip enabled