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_21648495_6209.cpp: In function 'void dfs(int, int)':
0_0_21648495_6209.cpp:31:16: error: 'L' was not declared in this scope
     if(u == f) L[u] = p[u];
                ^
0_0_21648495_6209.cpp:32:10: error: 'L' was not declared in this scope
     else L[u] = L[f];
          ^
0_0_21648495_6209.cpp: In function 'int main()':
0_0_21648495_6209.cpp:161:71: error: 'L' was not declared in this scope
                 printf("%.3lf\n", log(y) + log(2) * (FindMax(1, 1, n, L[L[x]], R[L[x]]) - Find(1, 1, n, p[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-06-29 12:23:37, Gzip enabled