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_16369749_30231.cpp:8:16: error: expected ',' or ';' before numeric constant
 const int V=50 10;
                ^
0_0_16369749_30231.cpp: In function 'int dfs(int, int, int)':
0_0_16369749_30231.cpp:18:17: error: expected ')' before 'n'
         if (dep n - k <= mx) return 0;
                 ^
0_0_16369749_30231.cpp:19:17: error: expected ')' before 'dp'
         if (dep dp[k] <= mx) return 0;
                 ^
0_0_16369749_30231.cpp:20:20: error: expected ';' before numeric constant
         for (j = i 1; j < ns; j ) {
                    ^
0_0_16369749_30231.cpp:22:34: error: expected ']' before numeric constant
             if (g[k][p]) stk[dep 1][cnt ] = p;
                                  ^
0_0_16369749_30231.cpp:22:34: error: expected ';' before numeric constant
0_0_16369749_30231.cpp:24:25: error: expected ')' before numeric constant
         dfs(n, cnt, dep 1);
                         ^
0_0_16369749_30231.cpp: In function 'int clique(int)':
0_0_16369749_30231.cpp:31:28: error: expected ';' before numeric constant
         for (ns = 0, j = i 1; j < n; j )
                            ^
0_0_16369749_30231.cpp: In function 'bool Check(double)':
0_0_16369749_30231.cpp:6:55: error: 'memset' was not declared in this scope
 #define CLR(NAME,VALUE) memset(NAME,VALUE,sizeof(NAME))
                                                       ^
0_0_16369749_30231.cpp:43:2: note: in expansion of macro 'CLR'
  CLR(g,0);
  ^
0_0_16369749_30231.cpp:45:11: error: expected ';' before numeric constant
   for(j=i 1;j<n; j) {
           ^
0_0_16369749_30231.cpp: In function 'int main()':
0_0_16369749_30231.cpp:64:13: error: expected ';' before numeric constant
     for(j=i 1;j<n; j) {
             ^
0_0_16369749_30231.cpp:65:64: error: expression cannot be used as a function
      arc[i][j]=sqrt((double)((x[i]-x[j])*(x[i]-x[j]) (y[i]-y[j])*(y[i]-y[j])));
                                                                ^
0_0_16369749_30231.cpp:69:17: error: expected ')' before 'cnt'
    sort(dis,dis cnt);
                 ^
0_0_16369749_30231.cpp:72:12: error: expected ')' before 'r'
     mid=(l r)>>1;
            ^
0_0_16369749_30231.cpp:73:43: error: expected ';' before numeric constant
     if( Check(dis[mid]) )   ans=mid,l=mid 1;
                                           ^


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-09-29 15:24:24, Gzip enabled