1553. Caves and Tunnels Time limit: 3.0 second Memory limit: 64 MB After landing on Mars surface, scientists found a strange system of caves connected ...
分类:
其他好文 时间:
2017-05-23 11:19:40
阅读次数:
200
这是道01背包题 ,尽管背包不会 ,可是还是看出来了,递推公式写啊写没写出来,后来一同学说是dfs。这我就開始了A了, 题意是给你n个重量是Wn的石头 让你放到两个包里面。看他们两个差值最小,而且输出这个差值。 dfs代码 #include <stdio.h> int sum; int h,T; i ...
分类:
其他好文 时间:
2017-05-21 21:41:22
阅读次数:
180
1196. History Exam Time limit: 1.5 second Memory limit: 64 MB Professor of history decided to simplify the examination process. At the exam, every stu ...
分类:
其他好文 时间:
2017-05-19 19:37:07
阅读次数:
257
一、状态和模型 在CNN网络中的训练样本的数据为IID数据(独立同分布数据),所解决的问题也是分类问题或者回归问题或者是特征表达问题。但更多的数据是不满足IID的,如语言翻译,自动文本生成。它们是一个序列问题,包括时间序列和空间序列。这时就要用到RNN网络,RNN的结构图如下所示: 序列样本一般分为 ...
分类:
其他好文 时间:
2017-05-12 20:11:06
阅读次数:
2398
题目描述 Description 题目描述 Description Ural大学有N个职员,编号为1~N。他们有从属关系,也就是说他们的关系就像一棵以校长为根的树,父结点就是子结点的直接上司。每个职员有一个快乐指数。现在有个周年庆宴会,要求与会职员的快乐指数最大。但是,没有职员愿和直接上司一起与会。 ...
分类:
其他好文 时间:
2017-05-07 10:20:06
阅读次数:
218
题目链接:点击打开链接 gg。。。 #pragma comment(linker, "/STACK:1024000000,1024000000") #include <cstdio> #include <iostream> #include <algorithm> #include <string. ...
分类:
其他好文 时间:
2017-05-04 20:16:29
阅读次数:
246
2022. Riding a Toad Time limit: 1.0 secondMemory limit: 64 MB A tribe of leafmen live in the old forest. Leafmen are very tiny and fast, that’s why we ...
分类:
其他好文 时间:
2017-04-30 23:06:46
阅读次数:
300
2017. Best of a bad lot Time limit: 1.0 secondMemory limit: 64 MB A cruise liner hasn’t moved away from the land even for three miles when it became a ...
分类:
其他好文 时间:
2017-04-30 23:03:04
阅读次数:
281
2020. Traffic Jam in Flower Town Time limit: 1.0 secondMemory limit: 64 MB Having returned from Sun City, Dunno told all his friends that every shorty ...
分类:
其他好文 时间:
2017-04-30 23:01:52
阅读次数:
346
2018. The Debut Album Time limit: 2.0 secondMemory limit: 64 MB Pop-group “Pink elephant” entered on recording their debut album. In fact they have on ...
分类:
其他好文 时间:
2017-04-30 23:00:34
阅读次数:
289