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_16393833_15155.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16393833_15155.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16393833_15155.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16393833_15155.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_16393833_15155.cpp:11:1: error: 'vector' does not name a type
 vector g[N];
 ^
0_0_16393833_15155.cpp: In function 'double solve(int)':
0_0_16393833_15155.cpp:17:5: error: expected ';' before 'for'
     for (int j = 0; j
     ^
0_0_16393833_15155.cpp:17:5: error: expected primary-expression before 'for'
0_0_16393833_15155.cpp:17:5: error: expected ')' before 'for'
0_0_16393833_15155.cpp:18:5: error: expected ';' before 'if'
     if (u == j) continue;
     ^
0_0_16393833_15155.cpp:18:5: error: expected primary-expression before 'if'
0_0_16393833_15155.cpp:18:5: error: expected ')' before 'if'
0_0_16393833_15155.cpp:19:22: error: 'g' was not declared in this scope
     double p = 1.0 / g[j].size();
                      ^
0_0_16393833_15155.cpp:19:24: error: 'j' was not declared in this scope
     double p = 1.0 / g[j].size();
                        ^
0_0_16393833_15155.cpp:21:5: error: expected ';' before 'dp'
     dp[g[j][k]][i + 1] += dp[j][i] * p;
     ^
0_0_16393833_15155.cpp:21:17: error: 'i' was not declared in this scope
     dp[g[j][k]][i + 1] += dp[j][i] * p;
                 ^
0_0_16393833_15155.cpp:21:39: error: expected ')' before ';' token
     dp[g[j][k]][i + 1] += dp[j][i] * p;
                                       ^
0_0_16393833_15155.cpp: At global scope:
0_0_16393833_15155.cpp:23:1: error: expected declaration before '}' token
 }
 ^


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-17 04:23:34, Gzip enabled