原题链接在这里:https://leetcode.com/problems/unique-paths-iii/ 题目: On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. T ...
分类:
其他好文 时间:
2019-12-16 09:15:54
阅读次数:
94
这是道完全背包问题,一共有N个数,且每个数可重复。 #include <bits/stdc++.h> using namespace std; int main() { int n = 120; int dp[121] = {1}; for (int i = 1; i <= n; i++) { fo ...
分类:
其他好文 时间:
2019-12-15 14:52:48
阅读次数:
107
pycharm安装第三方库失败 <I>file选择 settings <II>选择project Interpreter <III>选择这个 Manage Repositories <IV>更改下载源,点+,新增 可以将原来的 下载源 删除 默认 https://pypi.python.org/si ...
分类:
其他好文 时间:
2019-12-15 00:38:11
阅读次数:
697
原题链接在这里:https://leetcode.com/problems/valid-palindrome-iii/ 题目: Given a string s and an integer k, find out if the given string is a K-Palindrome or n ...
分类:
其他好文 时间:
2019-12-12 13:24:20
阅读次数:
107
Porsche PIWIS III covers Porsche Cars till 2018 year and instead of Piwis tester II. Porsche PIWIS III (PST3) is available with Lenovo T440P version a ...
分类:
其他好文 时间:
2019-12-11 21:48:29
阅读次数:
84
Porsche PIWIS III covers Porsche Cars till 2018 year and instead of Piwis tester II. Porsche PIWIS III (PST3) is available with Lenovo T440P version a ...
分类:
其他好文 时间:
2019-12-11 21:00:15
阅读次数:
83
文章目录: 题目 脚本一及注释 未加注释脚本 脚本一逻辑 题目: 罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 字符 数值I 1V 5X 10L 50C 100D 500M 1000例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II ...
分类:
其他好文 时间:
2019-12-09 01:10:25
阅读次数:
99
原题链接在这里:https://leetcode.com/problems/basic-calculator-iii/ 题目: Implement a basic calculator to evaluate a simple expression string. The expression st ...
分类:
其他好文 时间:
2019-12-08 11:06:22
阅读次数:
123
Det er, hvor vi alle har den rigtige fase lige ned, begynder. Selvom det ikke desto mindre er et godt alternativ, er den særlige tekniske omkring Puma ...
分类:
数据库 时间:
2019-12-07 20:56:53
阅读次数:
155
题目如下: You are given a string s containing lowercase letters and an integer k. You need to : First, change some characters of s to other lowercase Engl ...
分类:
其他好文 时间:
2019-12-07 10:20:45
阅读次数:
88