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_14587450_13772.cpp: In function 'long long int dfs(int, int, bool)':
0_0_14587450_13772.cpp:25:27: error: 'first' was not declared in this scope
         ret += dfs(i - 1, first && j == 0 ? 0 : nst[j][state],
                           ^
0_0_14587450_13772.cpp: In function 'long long int solve(long long int)':
0_0_14587450_13772.cpp:37:28: error: too many arguments to function 'long long int dfs(int, int, bool)'
     return dfs(len, 0, 1, 1);
                            ^
0_0_14587450_13772.cpp:19:4: note: declared here
 LL dfs(int i, int state, bool e) {
    ^


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-28 02:25:22, Gzip enabled