04 2020 档案

摘要:codeforces 1330 C.D.题解 "Dreamoon Likes Coloring" 题意: 给$n using namespace std; define ll long long define IOS ios_base::sync_with_stdio(0); cin.tie(0); 阅读全文
posted @ 2020-04-11 18:15 Frnas 阅读(150) 评论(0) 推荐(0)
摘要:Leetcode 每日一题 精选: (持续更新:) 1. "460. LFU缓存" 一道操作系统的题目,对理解LFU算法有很大帮助。数据结构:双hash,平衡二叉树。 2. "42. 接雨水" 经典单调栈,双指针题。 3. "887. 鸡蛋掉落" 谷歌经典面试题, "李永乐老师讲解" 。基础:动态规 阅读全文
posted @ 2020-04-11 10:17 Frnas 阅读(782) 评论(0) 推荐(0)
摘要:codeforces 1332 "E Height All the Same" (组合数学、奇偶性) 题意: 现在有一个$n∗m$的方格,第$i$行第$j$列有$a[i][j]$个方块。 你可以执行以下操作任意次: 1、选择$(i,j)$使$a[i][j]$加上$2$。 2、选择两个相邻的方格,将其 阅读全文
posted @ 2020-04-08 20:45 Frnas 阅读(179) 评论(0) 推荐(0)

Language: HTML