ZUFEOJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
6353: 2022洛谷阅读程序3:dp
内存限制:256 MB
时间限制:2 S
题面:传统
评测方式:文本比较
上传者:
提交:1
通过:1
提交
提交记录
统计
Web Board
题目描述
#include <bits/stdc++.h>
usingnamespacestd;
constintINF = 1000000000;
#define Front 0
#define Back 1
#define Left 2
#define Right 3
#define Up 4
#define Down 5
intw[6], a[1003][1003];
constintway1[] = {Up, Right, Down, Left};//4 3 5 2
constintway2[] = {Up, Front, Down, Back};//
constintway3[] = {Left, Front, Right, Back};
输入样例
复制
输出样例
复制
分类标签
2022洛谷阅读程序3:dp