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_26116498_24541.cpp:6:7: error: 'N' was not declared in this scope
 ll dp[N][N],fac[N],cnt[N],x[N],y[N];
       ^
0_0_26116498_24541.cpp:6:10: error: 'N' was not declared in this scope
 ll dp[N][N],fac[N],cnt[N],x[N],y[N];
          ^
0_0_26116498_24541.cpp:6:17: error: 'N' was not declared in this scope
 ll dp[N][N],fac[N],cnt[N],x[N],y[N];
                 ^
0_0_26116498_24541.cpp:6:24: error: 'N' was not declared in this scope
 ll dp[N][N],fac[N],cnt[N],x[N],y[N];
                        ^
0_0_26116498_24541.cpp:6:29: error: 'N' was not declared in this scope
 ll dp[N][N],fac[N],cnt[N],x[N],y[N];
                             ^
0_0_26116498_24541.cpp:6:34: error: 'N' was not declared in this scope
 ll dp[N][N],fac[N],cnt[N],x[N],y[N];
                                  ^
0_0_26116498_24541.cpp:8:16: error: 'N' was not declared in this scope
 vector <int> G[N];
                ^
0_0_26116498_24541.cpp: In function 'void init()':
0_0_26116498_24541.cpp:12:5: error: 'fac' was not declared in this scope
     fac[0] = 1;
     ^
0_0_26116498_24541.cpp:13:9: error: 'i' was not declared in this scope
     FOR(i,1,N){
         ^
0_0_26116498_24541.cpp:13:13: error: 'N' was not declared in this scope
     FOR(i,1,N){
             ^
0_0_26116498_24541.cpp:13:14: error: 'FOR' was not declared in this scope
     FOR(i,1,N){
              ^
0_0_26116498_24541.cpp: In function 'void dfs(int, int)':
0_0_26116498_24541.cpp:31:5: error: 'cnt' was not declared in this scope
     cnt[u] = 1;
     ^
0_0_26116498_24541.cpp:32:9: error: 'i' was not declared in this scope
     FOR(i,0,G[u].size()){
         ^
0_0_26116498_24541.cpp:32:13: error: 'G' was not declared in this scope
     FOR(i,0,G[u].size()){
             ^
0_0_26116498_24541.cpp:32:24: error: 'FOR' was not declared in this scope
     FOR(i,0,G[u].size()){
                        ^
0_0_26116498_24541.cpp: In function 'void calc()':
0_0_26116498_24541.cpp:41:9: error: 'i' was not declared in this scope
     FOR(i,1,n+1){
         ^
0_0_26116498_24541.cpp:41:16: error: 'FOR' was not declared in this scope
     FOR(i,1,n+1){
                ^
0_0_26116498_24541.cpp: In function 'll solve()':
0_0_26116498_24541.cpp:55:5: error: 'dp' was not declared in this scope
     dp[1][0] = y[1];
     ^
0_0_26116498_24541.cpp:55:16: error: 'y' was not declared in this scope
     dp[1][0] = y[1];
                ^
0_0_26116498_24541.cpp:56:16: error: 'x' was not declared in this scope
     dp[1][1] = x[1];
                ^
0_0_26116498_24541.cpp:57:9: error: 'i' was not declared in this scope
     FOR(i,2,n+1){
         ^
0_0_26116498_24541.cpp:57:16: error: 'FOR' was not declared in this scope
     FOR(i,2,n+1){
                ^
0_0_26116498_24541.cpp:75:25: error: 'fac' was not declared in this scope
     ll ans = dp[n][k] * fac[n];
                         ^
0_0_26116498_24541.cpp: In function 'int main()':
0_0_26116498_24541.cpp:87:13: error: 'i' was not declared in this scope
         FOR(i,0,N)  G[i].clear();
             ^
0_0_26116498_24541.cpp:87:17: error: 'N' was not declared in this scope
         FOR(i,0,N)  G[i].clear();
                 ^
0_0_26116498_24541.cpp:87:18: error: 'FOR' was not declared in this scope
         FOR(i,0,N)  G[i].clear();
                  ^


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-26 16:01:29, Gzip enabled