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_38741114_6366.cpp: In function 'void init()':
0_0_38741114_6366.cpp:40:5: error: 'f' was not declared in this scope
   40 |     f[0] = 1;
      |     ^
0_0_38741114_6366.cpp:41:5: error: 'g' was not declared in this scope
   41 |     g[0] = 1;
      |     ^
0_0_38741114_6366.cpp: In function 'long long int C(long long int, long long int)':
0_0_38741114_6366.cpp:52:12: error: 'f' was not declared in this scope
   52 |     return f[n] * g[m] % mod * g[n - m] % mod;
      |            ^
0_0_38741114_6366.cpp:52:19: error: 'g' was not declared in this scope
   52 |     return f[n] * g[m] % mod * g[n - m] % 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-27 00:21:02, Gzip enabled