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_35718890_153.cpp: In function 'long long int C(int, int)':
0_0_35718890_153.cpp:10:25: error: 'long long int C(int, int)' redeclared as different kind of symbol
 long long C(int n, int m) {
                         ^
0_0_35718890_153.cpp:8:5: note: previous declaration 'int C [2000][2000]'
 int C[2000][2000];
     ^
0_0_35718890_153.cpp:13:18: error: 'fac' was not declared in this scope
     return 1ll * fac[n] * inv[fac[m]] % MOD * inv[fac[n - m]] % MOD;
                  ^
0_0_35718890_153.cpp:13:27: error: 'inv' was not declared in this scope
     return 1ll * fac[n] * inv[fac[m]] % MOD * inv[fac[n - m]] % MOD;
                           ^
0_0_35718890_153.cpp: In function 'int main()':
0_0_35718890_153.cpp:38:36: error: 'LL' was not declared in this scope
    S2[i][j] = (S2[i - 1][j - 1] + (LL)S2[i - 1][j] * j) % MOD;//×¢ŅāŅē³ö
                                    ^
0_0_35718890_153.cpp:38:39: error: expected ')' before 'S2'
    S2[i][j] = (S2[i - 1][j - 1] + (LL)S2[i - 1][j] * 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-12-05 10:14:43, Gzip enabled