码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
E - Active Infants
Time Limit: 2 sec / Memory Limit: 1024 MB Score : 500 points ps:一道dp,这次真的是我自己写的!一直没过,把int都改成ll过了= =没注意数据范围qaq Problem Statement There are NN children ...
分类:其他好文   时间:2020-04-25 16:58:58    阅读次数:63
cmake语法学习 - 01 Basic - E- installing
cmake_minimum_required(VERSION 3.5) project(cmake_examples_install) ############################################################ # Create a library ## ...
分类:其他好文   时间:2020-04-25 16:48:02    阅读次数:73
D - Sum of Large Numbers
Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400 points ps:我发现一个很有趣的问题,long long和int 一起使用时,数据过大可能会出现错误,比如下面。所以最好还是统一用long long。 Problem Statement ...
分类:其他好文   时间:2020-04-25 12:36:28    阅读次数:66
2.7枚举
不仅定义了整数常量集,还把他们聚集成组。enum open_mode{output,input,append}; 枚举成员值可以不唯一。比如下面的point2w和point3d的值都是3.enum Points{point2d = 2, point2w,point3d = 3, point4w};不 ...
分类:其他好文   时间:2020-04-25 10:43:10    阅读次数:50
js 两点间距离函数
``` var points = [{x:0,y:0},{x:1,y:1}]; points.dist = function() { var p1=this[0]; var p2=this[1]; var a = p2.x-p1.x; var b = p2.y-p1.y; return Math.s... ...
分类:Web程序   时间:2020-04-25 10:36:34    阅读次数:150
数据框索引行
label1=['apple','orange','pear','banana'] label2=['one','two','three','four'] df=pd.DataFrame(np.arange(16).reshape(4,-1),index=label1,columns=label2) ...
分类:其他好文   时间:2020-04-24 01:53:43    阅读次数:109
Conway's Game of Life
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells ...
分类:其他好文   时间:2020-04-23 18:55:58    阅读次数:76
CTFHUB 信息泄露
可用扫描工具尝试扫描(disearch、御剑等) 目录遍历 Method One 直接手动遍历 Method Two PHPINFO 搜索flag 要注意下ctfhub后面有个空格,要删掉 备份文件下载 网站源码 拿disearch扫一下 可以发现www.zip,访问下载 可以发现里面有三个文件 u ...
分类:其他好文   时间:2020-04-23 12:26:09    阅读次数:124
236.Lowest Common Ancestor of a Binary Tree
题目描述 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The ...
分类:其他好文   时间:2020-04-23 00:51:39    阅读次数:73
codeforces #634(div3) A-E题解
"A. Candies and Two Sisters" + 将糖果分为a,b两份,且a t; while(t ){ cin n; cout t; while(t ){ cin n a b; for(int i = 0; i book; int main(void){ ios::sync_with_ ...
分类:其他好文   时间:2020-04-22 13:42:51    阅读次数:85
13225条   上一页 1 ... 35 36 37 38 39 ... 1323 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!