![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
中二病没有蛀牙
这个作者很懒,什么都没留下…
展开
-
每日一题LeetCode 403 青蛙过河 dp 哈希
https://leetcode-cn.com/problems/frog-jump/const int maxn = 2005;class Solution { public: int f[maxn][maxn]; vector<int> p; unordered_map <int,int> hash; int dp(int i,int j) { if(f[i][j] != -1) retu原创 2021-05-02 19:19:34 · 126 阅读 · 0 评论 -
每日一题 LeetCode 633平方数之和
简单傻逼题每天一个无用小知识新数学知识get√链接:https://leetcode-cn.com/problems/sum-of-square-numbers/一般暴力解法:class Solution { typedef long long ll; set<ll> vis; public: bool judgeSquareSum(ll c) { for(ll i = 0; ; i++){原创 2021-04-28 18:29:06 · 126 阅读 · 0 评论