package com.company;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.*;
/**
* meng3.wei 2020.05.08
(输入)
3
3
1 1
2 2
3 3
3
1 1
2 2
3 1
4
1 1
3 1
2 4
4 4
(输出)
#1 2
#2 -1
#3 1
*/
public class 跳跃路径 {
static int T;
static int N;
static Point[] points;
static int[] result;
static int[] pCount;//存储开始节点到这个节点的路径个数
static int MAX=1000000007;
static boolean logger=false;
public static void main(String[] args)throws Exception {
//System.setIn(new FileInputStream("D:\\sw_case\\35\\test_input.txt"));
//System.setIn(new FileInputStream("D:\\sw_case\\35\\sample_input_2.txt"));
//System.setIn(new FileInputStream("D:\\sw_case\\35\\sample_input.txt"));
System.setIn(new FileInputStream("D:\\sw_case\\35\\eval_input.txt"));
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
T
SW练习_跳跃路径_动态规划
最新推荐文章于 2021-03-05 09:17:59 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)