HDU 1428 - Man Bu Xiao Yuan

Problem : Given a DAG. Find the ways from source to destination.
Solution : DAG DP. The DAG should be get by yourself using spfa.