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_21713821_1258.cpp:11:7: error: 'll' does not name a type
 const ll mod  = 1e9 + 7;
       ^
0_0_21713821_1258.cpp:14:1: error: 'll' does not name a type
 ll binomialCoeff(int n, int k)
 ^
0_0_21713821_1258.cpp: In function 'int main()':
0_0_21713821_1258.cpp:39:43: error: 'binomialCoeff' was not declared in this scope
                 cout << binomialCoeff(n, m) % mod <<endl;
                                           ^
0_0_21713821_1258.cpp:39:47: error: 'mod' was not declared in this scope
                 cout << binomialCoeff(n, m) % mod <<endl;
                                               ^
0_0_21713821_1258.cpp:42:43: error: 'binomialCoeff' was not declared in this scope
                 cout << binomialCoeff(m, n) % mod<< endl;
                                           ^
0_0_21713821_1258.cpp:42:47: error: 'mod' was not declared in this scope
                 cout << binomialCoeff(m, n) % mod<< endl;
                                               ^


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-03 18:44:56, Gzip enabled