参考:https://www.cnblogs.com/xumenger/p/4687493.html System.Classes.pas: TList、TStrings、TStringList System.Contnrs.pas: TObjectList、 TComponentList、TCla ...
分类:
其他好文 时间:
2018-07-26 15:19:17
阅读次数:
163
diyiti.cpp/c/pas diyiti.in diyiti.out 2s/256MB 给定两个01串,S,T(下标从0开始)。 支持如下3种操作: 1. 修改S第i位的字符,即0->1,1->0. 2. 修改T第i位的字符,即0->1,1->0. 3. 查询S[a..a+l-1],T[b.. ...
分类:
其他好文 时间:
2018-07-26 15:15:22
阅读次数:
200
下载ftp文件: wget --ftp-user=User --ftp-password=Mir URL 下载yum源文件: wget -nc -np -r -k http://www.ctan.org/tex-archive/macros/latex/ ...
分类:
其他好文 时间:
2018-07-24 22:50:38
阅读次数:
207
import flask,pymysqlimport hashlibimport jsonserver = flask.Flask(__name__) #把当前这个python文件当做一个服务def my_db(sql,port=3306,charset='utf8'): ip, user, pas ...
分类:
其他好文 时间:
2018-07-20 23:41:52
阅读次数:
268
题目: Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. 给定非负索引k,其中k≤33,返回Pascal三角形的第k个索引行。 Note that the row ...
分类:
其他好文 时间:
2018-07-20 22:31:37
阅读次数:
175
noip模拟赛,挺良心的题,考的贼烂(膜一下@来日方长大佬(sdfz rank1)) 不多说了,看题吧 1.tower 题面: 铁塔(tower.pas/c/cpp) 题目描述 Rainbow和Freda要在PoeticIsland市的一座山脚下盖房子定居了......盖房子需要钢材,幸运的是,这里 ...
分类:
其他好文 时间:
2018-07-19 21:14:58
阅读次数:
216
题目链接:http://poj.org/problem?id=1163 Description 73 88 1 02 7 4 44 5 2 6 5(Figure 1) Figure 1 shows a number triangle. Write a program that calculates ...
分类:
其他好文 时间:
2018-07-16 23:46:57
阅读次数:
328
Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers ...
分类:
其他好文 时间:
2018-07-16 11:15:58
阅读次数:
126
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:
其他好文 时间:
2018-07-16 11:15:19
阅读次数:
147
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2018-07-16 11:14:55
阅读次数:
150