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_21572506_25032.cpp: In function 'void dfs(int, int)':
0_0_21572506_25032.cpp:27:2: error: 'val' was not declared in this scope
  val[x]=sz[x]*2-1;
  ^
0_0_21572506_25032.cpp: In function 'int main()':
0_0_21572506_25032.cpp:45:4: error: 'A' was not declared in this scope
    A=1.0;
    ^
0_0_21572506_25032.cpp:47:5: error: 'C' was not declared in this scope
     C+=A*(1.0-up[x]);
     ^
0_0_21572506_25032.cpp:48:5: error: 'D' was not declared in this scope
     D+=(B+valg[x])*C;
     ^
0_0_21572506_25032.cpp:48:9: error: 'B' was not declared in this scope
     D+=(B+valg[x])*C;
         ^
0_0_21572506_25032.cpp:50:8: error: 'val' was not declared in this scope
     B+=val[x];
        ^
0_0_21572506_25032.cpp:52:4: error: 'a' was not declared in this scope
    a[i][m+1]+=A;
    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:42:51, Gzip enabled