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_36683288_26692.cpp:5:18: error: expected primary-expression before ';' token
 const int maxn = ;
                  ^
0_0_36683288_26692.cpp:6:13: error: size of array 'vis' is not an integral constant-expression
 int vis[maxn],a[maxn][maxn],p[maxn],m,n;
             ^
0_0_36683288_26692.cpp:6:27: error: size of array 'a' is not an integral constant-expression
 int vis[maxn],a[maxn][maxn],p[maxn],m,n;
                           ^
0_0_36683288_26692.cpp:6:27: error: size of array 'a' is not an integral constant-expression
0_0_36683288_26692.cpp:6:35: error: size of array 'p' is not an integral constant-expression
 int vis[maxn],a[maxn][maxn],p[maxn],m,n;
                                   ^
0_0_36683288_26692.cpp: In function 'int dfs(int)':
0_0_36683288_26692.cpp:9:15: error: expected primary-expression before ';' token
     for(int i=;i<=n;i++)
               ^
0_0_36683288_26692.cpp:13:20: error: expected primary-expression before ';' token
             vis[i]=;
                    ^
0_0_36683288_26692.cpp:14:23: error: expected primary-expression before '||' token
             if(p[i]==-||dfs(p[i]))
                       ^
0_0_36683288_26692.cpp:17:17: error: return-statement with no value, in function returning 'int' [-fpermissive]
                 return ;
                 ^
0_0_36683288_26692.cpp:21:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^
0_0_36683288_26692.cpp: In function 'int main()':
0_0_36683288_26692.cpp:28:18: error: expected primary-expression before ',' token
         memset(a,,sizeof(a));
                  ^
0_0_36683288_26692.cpp:29:15: error: expected primary-expression before ';' token
         for(i=;i<=m;i++)
               ^
0_0_36683288_26692.cpp:32:19: error: expected primary-expression before ';' token
             for(j=;j<=k;j++) scanf("%d",&x),a[i][x]++;
                   ^
0_0_36683288_26692.cpp:34:19: error: expected primary-expression before ',' token
         memset(p,-,sizeof(p));
                   ^
0_0_36683288_26692.cpp:35:17: error: expected primary-expression before ';' token
         int ans=;
                 ^
0_0_36683288_26692.cpp:36:15: error: expected primary-expression before ';' token
         for(i=;i<=m;i++)
               ^
0_0_36683288_26692.cpp:38:24: error: expected primary-expression before ',' token
             memset(vis,,sizeof(vis));
                        ^
0_0_36683288_26692.cpp:43:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^


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 03:44:38, Gzip enabled