【题解】POJ-1860 Currency Exchange POJ-1860 Currency Exchange POJ:http://poj.org/problem?id=1860 题目 Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and 2022-05-03 POJ题解 #ACM #图论
【题解】POJ-1797 Heavy Transportation 三种解法 POJ-1797 Heavy Transportation POJ:http://poj.org/problem?id=1797 题目 Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever ma 2022-05-02 POJ题解 #ACM #图论
【题解】POJ-1182 食物链 POJ-1182 食物链 POJ:http://poj.org/problem?id=1182 题目 题目描述: 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述:第一种说法是"1 X Y" 2022-04-28 POJ题解 #ACM #图论
2021思修冲刺提纲 绪论:当担复兴大任,培养时代新人 新时代呼唤担当民族复兴大任的时代新人 我们要肩负历史使命,坚定前进信心,立大志、明大德、成大才、担大任,努力成为堪当民族复兴重任的时代新人,让青春在为祖国,为民族,为人民,为人类的不懈奋斗中绽放绚丽之花 不断提升思想道德素质和法治素养 人的本质是一切社会关系的总和 思想道德和法律都是上层建筑的重要组成部分,共同服务于一定的经济基础 一方面,思想 2022-01-02 #大学
Home Assistant后续 - 接入米家蓝牙设备 Home Assistant 更新 月底的时候发现HA有新版本,直接进入容器,执行: 12pip install --upgrade pip pip install --upgrade homeassistant -i https://pypi.tuna.tsinghua.edu.cn/simple #使用清华源 有个鸡贼的事情,pip最新版本是21.多,但是Home Assistant支持的pi 2022-01-01 RaspBerryPi #智能家居
【题解】HDU-2089 不要62 HDU-2089 不要62 HDU:https://acm.dingbacode.com/showproblem.php?pid=2089 题目 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。不吉利的数字为所有含有4或62的号 2021-12-26 HDU题解 #ACM
【题解】HDU-1013 Digital Roots HDU-1013 Digital Roots HDU:https://acm.dingbacode.com/showproblem.php?pid=1013 题目 The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a sin 2021-12-23 HDU题解 #ACM
【题解】POJ-1833 排列 POJ-1833 排列 POJ:http://poj.org/problem?id=1833 题目 题目描述:大家知道,给出正整数n,则1到n这n个数可以构成n!种排列,把这些排列按照从小到大的顺序(字典顺序)列出,如n=3时,列出1 2 3,1 3 2,2 1 3,2 3 1,3 1 2,3 2 1六个排列。 任务描述:给出某个排列,求出这个排列的下k个排列,如果遇到最后一个排列,则下1排列为 2021-12-22 POJ题解 #ACM #数学
【题解】CodeForces-321A Ciel and Robot CodeForces-321A Ciel and Robot CF:https://codeforces.com/problemset/problem/321/A 题目 Fox Ciel has a robot on a 2D plane. Initially it is located in (0, 0). Fox Ciel code a command to it. The command 2021-12-22 CodeForces题解 #ACM #数学
Home Assistant实现Mijia与Homekit互联 --使用RaspberryPi Home Assistant 实现Mijia与Homekit互联 --使用RaspberryPi 前言 作为一名学生,购买原生HomeKit家庭组件经费实在是不足,且自己原本就已经断断续续购买了一定的米家硬件 在iOS生态下,Apple原生的家庭APP的控制能力及操作便携性远大于米家APP,米家iOS版操作体验低于Android版 再加上部分Apple组件(如HomePod mini)无法通过米 2021-12-21 RaspBerryPi #智能家居