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
}
^
|