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_25710881_3221.cpp: In function 'long long int mdzz()':
0_0_25710881_3221.cpp:119:69: error: 'mod' was not declared in this scope
                     dp[S | (1 << i)] = (dp[S | (1 << i)] + dp[S]) % mod;
                                                                     ^
0_0_25710881_3221.cpp: In function 'void solve()':
0_0_25710881_3221.cpp:131:59: error: 'mod' was not declared in this scope
             if (num < 2) ans = (((num * zuhe[tot][num]) % mod) * ans) % mod;
                                                           ^
0_0_25710881_3221.cpp:132:55: error: 'mod' was not declared in this scope
             else  ans = (((mdzz() * zuhe[tot][num]) % mod) * ans) % mod;
                                                       ^
0_0_25710881_3221.cpp: In function 'int main()':
0_0_25710881_3221.cpp:143:66: error: 'mod' was not declared in this scope
             zuhe[i][j] = (zuhe[i - 1][j - 1] + zuhe[i - 1][j]) % 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-25 20:22:20, Gzip enabled