ICode9

精准搜索请尝试: 精确搜索
  • YbtOJ例题:递推 平铺方案2020-08-02 15:56:25

    http://noip.ybtoj.com.cn/contest/8/problem/5 虽然说这是例题,但还是想写一写(因为它不让我AC)  递推式hin简单。 f[i]=f[i-1]+2*f[i-2]。但是这道题会爆long long所以要用高精。 为什么我过不去啊啊啊 #include<bits/stdc++.h> using namespace std; const int N=255; int f[N][

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有