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_24885094_22817.cpp: In function 'int main()':
0_0_24885094_22817.cpp:9:24: error: 'maxn' was not declared in this scope
     for(int i = 1; i < maxn; ++i){
                        ^
0_0_24885094_22817.cpp:10:27: error: 'mod' was not declared in this scope
         N[i]=N[i-1]*(ll)i%mod;
                           ^
0_0_24885094_22817.cpp:19:28: error: 'S2' was not declared in this scope
             ans=(ans+(N[i]*S2[n][i]%mod))%mod;
                            ^
0_0_24885094_22817.cpp:19:37: error: 'mod' was not declared in this scope
             ans=(ans+(N[i]*S2[n][i]%mod))%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-12-02 03:55:32, Gzip enabled