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_15684495_5469.cpp: In function 'int query(int, int)':
0_0_15684495_5469.cpp:66:10: error: 'lg' was not declared in this scope
  t = lg(t);
          ^
0_0_15684495_5469.cpp: In function 'int dfs(int)':
0_0_15684495_5469.cpp:133:6: error: 'p' was not declared in this scope
   if(p[u].y != p[v].y)
      ^
0_0_15684495_5469.cpp:138:14: error: 'p' was not declared in this scope
  dp[u][0] += p[u].z == 0;
              ^
0_0_15684495_5469.cpp: In function 'int main()':
0_0_15684495_5469.cpp:158:4: error: 'p' was not declared in this scope
    p[i] = node(l, r - 1, y, z);
    ^
0_0_15684495_5469.cpp:160:8: error: 'p' was not declared in this scope
   sort(p + 1, p + m + 1);
        ^
0_0_15684495_5469.cpp:174:5: error: 'ans' was not declared in this scope
     ans += max(dp[i][0], dp[i][1]);
     ^
0_0_15684495_5469.cpp:177:34: error: 'ans' was not declared in this scope
   printf("Case #%d: %d\n", ++kk, ans);
                                  ^


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-29 11:46:26, Gzip enabled