LeetCode 0309. Best Time to Buy and Sell Stock with Cooldown最佳买卖股票时机含冷冻期【Medium】【Python】【动态规划】 Problem "LeetCode" Say you have an array for which the ...
分类:
编程语言 时间:
2020-03-11 21:00:22
阅读次数:
71
先上题目: C. Two operations time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an ...
分类:
其他好文 时间:
2020-03-11 19:28:17
阅读次数:
66
useState is typically simpler at first than useReducer (you can even implement useState using useReducer), but there's one scenario where useReducer i ...
分类:
其他好文 时间:
2020-03-11 18:14:07
阅读次数:
69
1.git 配置git config --global user.name “用户名” git config --global user.email “邮箱” 2.建立git仓库 在你的项目文件夹下执行git命令 git init 3. 将项目文件添加到仓库中 git add . 4. 将add的文 ...
分类:
Web程序 时间:
2020-03-11 15:04:52
阅读次数:
93
#include<iostream> #include<cmath> using namespace std; int main() { float x, y; string s = "I love you!"; int l = s.length(); for (y = 1.3f; y >= -1. ...
分类:
编程语言 时间:
2020-03-11 12:43:41
阅读次数:
169
机器上之前安装了sql server 2008,由于要升级ETL,需要安装SSDT2017. 安装包可以在这里下载:https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-serve ...
分类:
其他好文 时间:
2020-03-11 10:30:27
阅读次数:
343
Problem Description You, the leader of Starship Troopers, are sent to destroy a base of the bugs. The base is built underground. It is actually a huge ...
分类:
其他好文 时间:
2020-03-10 21:42:04
阅读次数:
72
# EXAMPLE_NUM01age_of_oldboy = 56count = 0while count < 3: guess_age = int(input("guess age: ")) if guess_age == age_of_oldboy: print("yes,you got it" ...
分类:
其他好文 时间:
2020-03-10 18:42:13
阅读次数:
67
core.autocrlf If you’re programming on Windows and working with people who are not (or vice versa), you’ll probably run into line ending issues at som ...
分类:
其他好文 时间:
2020-03-10 16:00:47
阅读次数:
63
一.数字类型int型和float型 一)定义: 1 # 1、定义: 2 # 1.1 整型int的定义 3 age=10 # 本质age = int(10) 4 5 # 1.2 浮点型float的定义 6 salary=3000.3 # 本质salary=float(3000.3) 7 8 # 注意: ...
分类:
其他好文 时间:
2020-03-10 10:25:06
阅读次数:
59