Monday, May 5, 2014
Sunday, May 4, 2014
Score combination
America football rules
safty 2 points
field goal 3 points
touchdown 7 points
To get to a point S, how many possible combinations can happen.
It is graph, starting from 3 possible points 2, 3, 7, and each has three possible path to +2, +3, +7, and so on. in the end. the score has to be s.
It is the same as find a path in the graph such that the path sum is s.
Solve:
> * 整理知识,学习笔记
> * 发布日记,杂文,所见所想
> * 撰写发布技术文稿(代码支持)
> * 撰写发布学术论文(LaTeX 公式支持)
safty 2 points
field goal 3 points
touchdown 7 points
To get to a point S, how many possible combinations can happen.
It is graph, starting from 3 possible points 2, 3, 7, and each has three possible path to +2, +3, +7, and so on. in the end. the score has to be s.
It is the same as find a path in the graph such that the path sum is s.
Solve:
> * 整理知识,学习笔记
> * 发布日记,杂文,所见所想
> * 撰写发布技术文稿(代码支持)
> * 撰写发布学术论文(LaTeX 公式支持)
Subscribe to:
Posts (Atom)