自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 【Deep Residual Learning for Image Recognition】

常规废话环节 这篇是接触深度学习后读的第一篇论文,就像上篇博客结尾说的,这是个很厉害的东西。文中介绍的是2015 ImageNet中分类任务的冠军——MSRA何凯明团队的Residual Networks,这篇论文也是2016年CVPR最佳论文。当然,关于这方面的东西不过多提,还是很推荐阅读原作,虽然对于一个英语渣来说很困难。1、Motivations 介绍一下正文,作者首先抛出了一个问题:深度神经网络越深越好吗? 按照定义来看,网络随着深度的...

2021-12-08 20:39:52 6171 1

原创 【Wide & Deep Learning for Recommender Systems】

说些废话最近开始接触深度学习的东西,有些无从下手,需要学的东西太多了。另外感觉很久没写过博客了,很有些怀念当初在实验室一起学习一起训练的日子。嗯不出意外的话,准备将这一阶段的学习记录同步到博客,也给自己加深印象。 这篇论文是我看的第二篇论文,关于第一篇论文的理解后续应该会继续更在这个专栏里。这篇论文讲的是一个 Wide & Deep 模型,通过名字就可以看出,是一个分为 Wide 部分和 Deep 部分的模型。至于具体介绍(我理解的)会在正文里提到。背景...

2021-12-06 21:19:22 439

原创 洛谷 P3372 线段树【模板】

P3373 【模板】线段树 2题目描述如题,已知一个数列,你需要进行下面三种操作:1.将某区间每一个数乘上x2.将某区间每一个数加上x3.求出某区间每一个数的和输入格式第一行包含三个整数N、M、P,分别表示该数列数字的个数、操作的总个数和模数。第二行包含N个用空格分隔的整数,其中第i个数字表示数列第i项的初始值。接下来M行每行包含3或4个整数,表示一个操作,具体...

2019-09-11 20:05:27 301

原创 10247: 爱好数学的国王(唯一分解定理)

题目描述Z 国的国王是一个非常爱好数学的国王。一天他对着他的那些大臣说:“素数真是一种神奇的正整数,除了1和它本身外,不能被其他任何正整数整除,2是最小的素数,有无穷多个啊……它还有一个美妙的名字:质数,……数学多么有趣啊……”。  Z 国今年风调雨顺,百姓丰衣足食。为了奖励他那帮管理有方的大臣,他决定把全部的 N 元奖金平均分配给其中的 K 位大臣,但酷爱数学的国王要求这 K 位大臣每人拿...

2018-12-08 16:39:39 1807 1

原创 问题 N: 搬砖

题目描述燕子飞到温暖的南方去了。分别后的十年里,小N孤身在家乡生活,迫于生计而找了份搬砖的工作(等等这什么鬼)。共有n个工地,第i个工地和第i+1个直接相连(1<=i<n),工地1和n并不直接相连。从工地i走到i+1或者从i+1走到i都需要耗费1点时间。有m个运输任务,第i个要求小N把砖头从工地L_i运到R_i。天才的小N有了个绝妙的主意,假如在工地X和Y之间搞个传送站,...

2018-11-10 15:24:12 477

原创 问题 A: 【杂题】排序

题目描述有一列数,要对其进行排序(升序)。排序只能通过交换来实现。每次交换,可以选择这列数中的任意两个,交换他们的位置,并且交换的代价为这两个数的和。排序的总代价是排序过程中所有交换代价之和。现要求计算,对于任意给出的一列数,要将其排成升序所需的最小代价。输入输入包含多组数据。每组数据有两行组成。第一行一个数n,表示这列数共有n个数组成。第二行n个互不相同的整数(都是小于1000的正整...

2018-10-21 20:10:24 385

原创 ACM-ICPC 2018 徐州赛区网络预赛 F. Features Track

Morgana is learning computer vision, and he likes cats, too. One day he wants to find the cat movement from a cat video.To do this, he extracts cat features in each frame. A cat feature is a two-dim...

2018-09-09 20:30:24 175

原创 upc - 4897: Envious Exponents

题目描述Alice and Bob have an integer N. Alice and Bob are not happy with their integer. Last night they went to a cocktail party and found that another couple had the exact same integer! Because of tha...

2018-08-25 09:36:58 254

原创 upc - 5212: Coins I(概率DP)

题目描述Alice and Bob are playing a simple game. They line up a row of n identical coins, all with the heads facing down onto the table and the tails upward.For exactly m times they select any k of the...

2018-08-22 15:06:38 327

原创 hdu - 6383 - p1m2(二分)(2018百度之星初赛B 1004)

                   Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)                                        Total Submission(s): 729    Accepted Submission(s): 264...

2018-08-13 10:26:57 265

原创 P1494 [国家集训队]小Z的袜子 (莫队)

题目描述作为一个生活散漫的人,小Z每天早上都要耗费很久从一堆五颜六色的袜子中找出一双来穿。终于有一天,小Z再也无法忍受这恼人的找袜子过程,于是他决定听天由命……具体来说,小Z把这N只袜子从1到N编号,然后从编号L到R(L 尽管小Z并不在意两只袜子是不是完整的一双,甚至不在意两只袜子是否一左一右,他却很在意袜子的颜色,毕竟穿两只不同色的袜子会很尴尬。你的任务便是告诉小Z,他有多大的概率抽...

2018-08-11 13:18:33 180

原创 upc - 6756: 破解 D-H 协议 (bsgs算法)

题目描述Diffie-Hellman密钥交换协议是一种简单有效的密钥交换方法。它可以让通讯双方在没有事先约定密钥(密码)的情况下,通过不安全的信道(可能被窃听)建立一个安全的密钥K,用于加密之后的通讯内容。假定通讯双方名为Alice和Bob,协议的工作过程描述如下(其中mod表示取模运算):协议规定一个固定的质数P,以及模P的一个原根g。P和g的数值都是公开的,无需保密。Alice生成一...

2018-08-11 10:15:02 323

原创 upc - 6570: Connected? (思维)

题目描述Snuke is playing a puzzle game. In this game, you are given a rectangular board of dimensions R×C, filled with numbers. Each integer i from 1 through N is written twice, at the coordinates (xi,1...

2018-08-09 14:07:03 165

原创 问题 I: Werewolf(杭电多校第六场1009)

题目描述"The Werewolves" is a popular card game among young people.In the basic game, there are 2 different groups: the werewolves and the villagers. Each player will debate a player they think is a we...

2018-08-09 12:27:11 265

原创 HDU - 6351 Beautiful Now(杭电多校第5场1002)

Problem DescriptionAnton has a positive integer n, however, it quite looks like a mess, so he wants to make it beautiful after k swaps of digits.Let the decimal representation of n as (x1x2⋯xm)10 s...

2018-08-07 16:05:55 235

原创 问题 H: Happiness Hotel(佩尔方程)

题目描述The life of Little A is good, and, he managed to get enough money to run a hotel. The best for him is that he need not go to work outside, just wait for the money to go into his pocket. Little A...

2018-08-04 13:48:34 454

原创 问题 C: Small Multiple (dfs)

                                                     问题 C: Small Multiple                                                                       时间限制: 1 Sec  内存限制: 512 MB                            ...

2018-08-03 20:40:13 309

原创 UPC - 6569: Built?

题目描述There are N towns on a plane. The i-th town is located at the coordinates (xi,yi). There may be more than one town at the same coordinates.You can build a road between two towns at coordinates ...

2018-08-02 10:53:05 219

原创 UPC-6575 11

题目描述You are given an integer sequence of length n+1, a1,a2,…,an+1, which consists of the n integers 1,…,n. It is known that each of the n integers 1,…,n appears at least once in this sequence.For e...

2018-08-02 09:49:30 167

原创 问题 A: ConvexScore

题目描述You are given N points (xi,yi) located on a two-dimensional plane. Consider a subset S of the N points that forms a convex polygon. Here, we say a set of points S forms a convex polygon when the...

2018-07-31 10:07:44 277

原创 J - Patrol Robot (dfs || bfs)

A robot has to patrol around a rectangular area which is in a form of m × n grid (m rows and n columns). The rows are labeled from 1 to m. The columns are labeled from 1 to n. A cell (i,j) denotes the...

2018-06-08 20:04:21 252

原创 Blowing Candles 旋转卡壳!

题目描述As Jacques-Édouard really likes birthday cakes, he celebrates his birthday every hour, instead of every year. His friends ordered him a round cake from a famous pastry shop, and placed candles on ...

2018-04-30 21:07:29 543

原创 AtCoder Grand Contest 010 - Boxes

题目描述There are N boxes arranged in a circle. The i-th box contains Ai stones.Determine whether it is possible to remove all the stones from the boxes by repeatedly performing the following operation:Se...

2018-04-23 17:19:32 198

转载 趣写算法系列之--匈牙利算法

【书本上的算法往往讲得非常复杂,我和我的朋友计划用一些简单通俗的例子来描述算法的流程】匈牙利算法是由匈牙利数学家Edmonds于1965年提出,因而得名。匈牙利算法是基于Hall定理中充分性证明的思想,它是部图匹配最常见的算法,该算法的核心就是寻找增广路径,它是一种用增广路径求二分图最大匹配的算法。-------等等,看得头大?那么请看下面的版本:通过数代人的努力,你终于赶

2017-12-05 10:42:11 247 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除