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_39578274_12317.cpp:8:1: error: expected initializer before 'll'
    8 | ll f[N];
      | ^~
0_0_39578274_12317.cpp: In function 'void init()':
0_0_39578274_12317.cpp:11:9: error: 'f' was not declared in this scope
   11 |         f[0]=1;
      |         ^
0_0_39578274_12317.cpp: In function 'void solve()':
0_0_39578274_12317.cpp:21:46: error: 'c2' was not declared in this scope; did you mean 'c1'?
   21 |                 for(ll i=0;i<=m;i++) c1[i]=0,c2[i]=0;
      |                                              ^~
      |                                              c1
0_0_39578274_12317.cpp:29:41: error: 'c2' was not declared in this scope; did you mean 'c1'?
   29 |                                         c2[j+k]+=c1[j]/f[k];
      |                                         ^~
      |                                         c1
0_0_39578274_12317.cpp:29:56: error: 'f' was not declared in this scope
   29 |                                         c2[j+k]+=c1[j]/f[k];
      |                                                        ^
0_0_39578274_12317.cpp:34:39: error: 'c2' was not declared in this scope; did you mean 'c1'?
   34 |                                 c1[j]=c2[j];
      |                                       ^~
      |                                       c1
0_0_39578274_12317.cpp:39:29: error: 'f' was not declared in this scope
   39 |                 cout<<c1[m]*f[m]<<'\n';
      |                             ^


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-24 19:01:27, Gzip enabled