Network Reliability

아직 제출이 없습니다시간 제한3초메모리 제한512 MB

문제

An undirected graph is given. Each edge of the graph disappears with a constant probability. Calculate the probability with which the remained graph is connected.

입력

The first line contains three integers NN (1N141 \leq N \leq 14), MM (0M1000 \leq M \leq 100) and PP (0P1000 \leq P \leq 100), separated by a single space. NN is the number of the vertices and MM is the number of the edges. PP is the probability represented by a percentage.

The following MM lines describe the edges. Each line contains two integers v_iv\_i and u_iu\_i (1u_i,v_iN1 \leq u\_i, v\_i \leq N). (u_i,v_iu\_i, v\_i) indicates the edge that connects the two vertices u_iu\_i and v_iv\_i.

출력

Output a line containing the probability with which the remained graph is connected. Your program may output an arbitrary number of digits after the decimal point. However, the absolute error should be 10910^{-9} or less.