码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
codeforces 1007B Pave the Parallelepiped
codeforces 1007B Pave the Parallelepiped 题意 题解 代码 c++ include using namespace std; define fi first define se second define mp make_pair define pb push ...
分类:其他好文   时间:2018-07-14 20:05:32    阅读次数:585
paper 168: 2018-FATTEN 论文解析-feature space transfer for data augmentation
paper download:https://arxiv.org/abs/1801.04356 本文的核心就是使用GAN网络生成新的数据。 这个总体框图,常规结构,具体是通过在appearance和pose上分离在网络设计上,作者提到了三点: 1. 为了避免网络只是单纯的Match Feature ...
分类:其他好文   时间:2018-07-14 20:03:45    阅读次数:1322
13行js写贪吃蛇游戏
先上源码,版本是ES6 13行常规(700bytes) shortest snake game.html 13行变色(750bytes) chameleon_game.html 压缩后的500bytes(当然两处document还是可以用eval压缩的) index.500bytes.html 之前 ...
分类:Web程序   时间:2018-07-13 20:23:01    阅读次数:301
UVA - 12487 Midnight Cowboy(LCA+思维)
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3931 题意 一棵树,一个人从A节点出发,等可能选择到下一个点的路,有B、C两个结点,问先到C的概率。 分 ...
分类:其他好文   时间:2018-07-13 00:03:56    阅读次数:185
codeforces 432E Square Tiling
codeforces 432E Square Tiling 题意 题解 代码 c++ include using namespace std; define fi first define se second define mp make_pair define pb push_back defin ...
分类:其他好文   时间:2018-07-11 23:27:32    阅读次数:194
插入2D点,在WPF中使用Bezier曲线
原文 Interpolate 2D points, usign Bezier curves in WPF Interpolate 2D points, usign Bezier curves in WPF Interpolate 2D points, usign Bezier curves in W ...
分类:Windows程序   时间:2018-07-11 14:56:52    阅读次数:206
Generate SSH key
Think this command not only works in Windows, but also works in Mac & Linux. It will generate a private & public key pair in your user directory foler ...
分类:其他好文   时间:2018-07-11 14:54:23    阅读次数:141
八、懒加载
1、需求:查询订单信息,有时候需要关联查出用户信息。 第一种方法:我们直接关联查询出所有订单和用户的信息 1 select * from orders o ,user u where o.user_id = u.id; 1 select * from orders o ,user u where o ...
分类:其他好文   时间:2018-07-11 00:57:23    阅读次数:199
[Atcoder SHPC2018] Tutorial
Link: SHPC2018 传送门 C: 一道看上去有些吓人的题目,不过$1e9$规模下的$n^m$代表肯定是可以约分的 可以发现能提供贡献的数对只有$2*(n-d)$种,那么总贡献为$2*(n-d)*(m-1)*n^{m-2}$ 除去$n^m$后就是$\frac{2*(n-d)*(m-1)}{n ...
分类:其他好文   时间:2018-07-08 22:04:23    阅读次数:201
POJ 3126 Prime Path【从一个素数变为另一个素数的最少步数/BFS】
Prime Path Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 26475 Accepted: 14555 Description The ministers of the cabinet were quite upset ...
分类:其他好文   时间:2018-07-08 20:05:22    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!