总时间限制: 1000ms 内存限制: 65536kB描述The objective of the program you are going to produce is to evaluate boolean expressions as the one shown next: Expressio ...
分类:
其他好文 时间:
2018-09-25 19:34:39
阅读次数:
228
本文介绍如何在不使用U盘的情况下使用wubi.exe程序在Win7上安装ubuntu-14.04.3版系统。 花了一天的时间终于安装上了Ubuntu14.04,过程坎坷,是血泪史,开始报“cannot download the metalink and therefore the ISO”错误,解决 ...
题目描述 You started your new project: installing a home automation system. You already bought all the components and in your local electronic shop you fo ...
分类:
其他好文 时间:
2018-09-10 11:08:39
阅读次数:
286
"字串变换" 一个简单的 $bfs$ ,只是扩展结点时比较"另类",还有一点迭代加深搜索的味道 数据范围较小,无需$kmp$ ,暴力判断就好 认识到了两点 1. $\because$ 无符号数相减不会出现负数,$\therefore$ 当小数减大数时会得到一个很大的数. $\therefore$ 应 ...
分类:
其他好文 时间:
2018-08-30 23:27:19
阅读次数:
215
设置亚洲->中国->北京时区 zze@ubuntu18:~$ tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent, ocean, "co ...
分类:
系统相关 时间:
2018-08-25 17:27:11
阅读次数:
376
题目描述: A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangem ...
分类:
其他好文 时间:
2018-08-18 21:45:40
阅读次数:
162
"题面" 我先对数字根打了个表,然后得到了一个结论:$a$的数字根=$(a 1)mod 9+1$ 我在询问大佬后,大佬给出了一个简单的证明: $\because 10^n\equiv 1(mod 9)$ $\therefore a_{n} 10^n+a_{n 1} 10^{n 1}+...+a_{1 ...
分类:
其他好文 时间:
2018-08-05 21:33:24
阅读次数:
245
好久没刷题了,今天碰巧看见一道很有趣的题,给大家分享分享: https://leetcode.com/problems/rabbits-in-forest/description/ In a forest, each rabbit has some color. Some subset of rab ...
分类:
其他好文 时间:
2018-07-26 23:46:24
阅读次数:
358
A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement mu ...
分类:
其他好文 时间:
2018-07-22 23:37:19
阅读次数:
208
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: tru ...
分类:
其他好文 时间:
2018-07-21 14:41:52
阅读次数:
130