• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Baudelaire

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2021年4月6日

数字三角形
摘要: #include <bits/stdc++.h> using namespace std; #define ll long long const int M = 1e3 + 1; int dp[M][M]; int a[M][M]; int main() { int n; cin >> n; for 阅读全文
posted @ 2021-04-06 20:11 Baudelaire 阅读(68) 评论(0) 推荐(0)
 
滑雪问题,记忆化搜索
摘要: #include <bits/stdc++.h> using namespace std; #define ll long long const int M=1e3+1; const int dx[4]={1,0,-1,0};//存方向移动 const int dy[4]={0,1,0,-1}; i 阅读全文
posted @ 2021-04-06 19:28 Baudelaire 阅读(62) 评论(0) 推荐(0)