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_33579353_23644.cpp:6:4: error: 'N' was not declared in this scope
 }s[N][N];
    ^
0_0_33579353_23644.cpp:6:7: error: 'N' was not declared in this scope
 }s[N][N];
       ^
0_0_33579353_23644.cpp:10:1: error: expected ',' or ';' before 'll'
 ll ans[N],nxt[N];
 ^
0_0_33579353_23644.cpp: In function 'void dfs(int, int, int, int, int)':
0_0_33579353_23644.cpp:19:8: error: 'ans' was not declared in this scope
     if(ans[step]==0)
        ^
0_0_33579353_23644.cpp:20:13: error: 'nxt' was not declared in this scope
         dfs(nxt[step],a,b,c,d); 
             ^
0_0_33579353_23644.cpp:21:19: error: 'ans' was not declared in this scope
     for(int i=0;i<ans[step];i++)
                   ^
0_0_33579353_23644.cpp:22:22: error: 's' was not declared in this scope
         dfs(step+1,a+s[step][i].a,b+s[step][i].b,c+s[step][i].c,d+s[step][i].d);
                      ^
0_0_33579353_23644.cpp: In function 'int main()':
0_0_33579353_23644.cpp:29:16: error: 'ans' was not declared in this scope
         memset(ans,0,sizeof(ans));
                ^
0_0_33579353_23644.cpp:34:13: error: 's' was not declared in this scope
             s[t][ans[t]].a=q,s[t][ans[t]].b=w,s[t][ans[t]].c=e,s[t][ans[t]].d=r;
             ^
0_0_33579353_23644.cpp:39:13: error: 'nxt' was not declared in this scope
             nxt[i]=x;
             ^


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-04 23:42:49, Gzip enabled