UVa 10285 Longest Run on a Snowboard
#include<iostream>
#include<string>
#include<memory.h>
#define max(a,b) (a>b?a:b)
using namespace std;
int dir[4][2] = { {1,0},{-1,0},{0,1},{0,-1} };
int R, C;
int **Map, **dp;
i...
原创
2019-03-22 17:43:53 ·
102 阅读 ·
0 评论