The end of otherFor language training our Robots want to learn about suffixes.In this task, you are given a set of words in lower case. Check whether ...
分类:
编程语言 时间:
2014-07-09 21:54:26
阅读次数:
200
原题: ZOJ 3686http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3686这题本来是一个比较水的线段树,结果一个mark坑了我好几个小时。。哎。太弱。先DFS这棵树,树形结构转换为线性结构,每个节点有一个第一次遍历的时间...
分类:
其他好文 时间:
2014-07-08 00:46:56
阅读次数:
295
原题: UVA 1169 http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3610大白书上的原题。代码:#include #include #include ...
分类:
其他好文 时间:
2014-07-07 15:09:20
阅读次数:
386
I think Agile development methodologies is something we get from our practice. It can be just acknowledged by taking the training, but if you want to ...
分类:
其他好文 时间:
2014-07-06 23:30:02
阅读次数:
274
原题找不到了,应该是usaco之类的题目吧。给一个可以交题的链接:http://www.cqoi.net:2012/problem.php?id=1004思路:将素数一个一个往里乘,保证扫描的顺序是从小到大的就可以了。思路跟usaco training的丑数有点像,算是那道题的简单版吧。我的实现: ...
分类:
其他好文 时间:
2014-07-05 21:12:47
阅读次数:
256
原题:ZOJ 3777 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3777题意:给每个题目安排在每个位置的value。有一个程序随机选择安排的顺序,总的value值大于等于m时,就可以接受这个安排。问能够获得一次满足条件...
分类:
其他好文 时间:
2014-07-02 21:40:19
阅读次数:
219
原题: ZOJ 3785http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3785题意:当天是星期六,问经过1^1+2^2+3^3....+n^n天后是星期几?这题开始以为是这种式子的求和问题,翻了半天没翻到公式。结果没搞出来。...
分类:
其他好文 时间:
2014-07-02 21:31:21
阅读次数:
186
一般deep learning需要两步, unsupervised pre-train 和 superviesed NN training. Pre-training 用unsupervised方法train神经网络,得到word representation. 在第二步 supervised NN...
分类:
其他好文 时间:
2014-07-02 20:20:34
阅读次数:
307
原题:ZOJ 3780http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3780刚开始看到还以为是搜索题,没思路就跳过了。结果后来发现就是一个简单的模拟啊,因为每行每列都只能消去一次,直接慢慢消去就好了,因为按字典序从小到大,那...
分类:
其他好文 时间:
2014-07-02 18:28:45
阅读次数:
237
原题: URAL 1091 http://acm.timus.ru/problem.aspx?space=1&num=1091题意:要求找出K个不同的数字使他们有一个大于1的公约数,且所有的数字都不能大于一个指定的数字S。解法:可以考虑每个S内的素数,此素数和它的所有倍数构成一个集合,则可以在这些集...
分类:
其他好文 时间:
2014-07-02 00:37:32
阅读次数:
253