题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6638 There are nn pirate chests buried in Byteland, labeled by 1,2,…,n1,2,…,n. The ii-th chest's locati ...
分类:
其他好文 时间:
2020-03-12 11:25:40
阅读次数:
49
LeetCode 0188. Best Time to Buy and Sell Stock IV买卖股票的最佳时机 IV【Hard】【Python】【动态规划】 Problem "LeetCode" Say you have an array for which the i th element ...
分类:
编程语言 时间:
2020-03-11 23:29:06
阅读次数:
89
LeetCode 0123. Best Time to Buy and Sell Stock III买卖股票的最佳时机 III【Hard】【Python】【动态规划】 Problem "LeetCode" Say you have an array for which the i th elemen ...
分类:
编程语言 时间:
2020-03-11 22:12:10
阅读次数:
77
一、表格 1、表格 thead 表头 tbody 表体(浏览器默认加上) tfoot 表尾 2、<colgroup span=" 2"> </colgroup> 把几列分成一组 3、<th> </ th> 列标题,默认文本加粗,上下居中,左右居中 4、<caption>表格标题 </caption> ...
分类:
其他好文 时间:
2020-03-11 11:04:35
阅读次数:
66
<table id="tables" class="listTable"> <tr> <th class="check"> <input type="checkbox" class="allCheck" /> </th> <th> <a href="#" hidefocus>xx</a> </th> ...
分类:
Web程序 时间:
2020-03-11 00:54:39
阅读次数:
97
There are nn points on a coordinate axis OXOX . The ii -th point is located at the integer point xixi and has a speed vivi . It is guaranteed that no ...
分类:
其他好文 时间:
2020-03-09 10:31:36
阅读次数:
79
AtCoder Beginner Contest 158 地址:https://atcoder.jp/contests/abc158/tasks A - Station and Bus 题意:AB之间通车,给三个字符,问能否通车,水题,只要不全是A 或者全是B都能通车 #include<bits/s ...
分类:
其他好文 时间:
2020-03-09 01:40:40
阅读次数:
72
传送门 A - Station and Bus #include <bits/stdc++.h> using namespace std; char s[5]; int main() { //freopen("in.txt","r",stdin); scanf("%s",s); int a=0,b= ...
分类:
其他好文 时间:
2020-03-08 12:25:58
阅读次数:
100
Natas24: 一个登录页面,查看源码,发现关键代码: if(array_key_exists("passwd",$_REQUEST)){ if(!strcmp($_REQUEST["passwd"],"<censored>")){ echo "<br>The credentials for th ...
分类:
其他好文 时间:
2020-03-06 23:59:00
阅读次数:
99
Given a tree, you are supposed to tell if it is a complete binary tree. Input Specification: Each input file contains one test case. For each case, th ...
分类:
其他好文 时间:
2020-03-05 20:59:24
阅读次数:
115