码迷,mamicode.com
首页 >  
搜索关键字:ann    ( 3876个结果
HDU5335——贪心+BFS——Walk Out
Problem DescriptionIn ann?mmaze, the right-bottom corner is the exit (position(n,m)is the exit). In every position of this maze, there is either a0or ...
分类:其他好文   时间:2015-08-01 15:40:13    阅读次数:180
python实现单隐层神经网络基本模型
应朋友之请写了一份python实现单隐层BPAnnmodel的code,好久没写博客,就顺便发上来。这篇代码比较干净利落,比较纯粹的描述了Ann的基本原理,初学机器学习的同学可以参考。模型中几个比较重要的参数:1.学习率学习率是影响模型收敛的重要因素,一般来说要根据具体场景灵活调整..
分类:编程语言   时间:2015-07-28 14:49:17    阅读次数:159
Codeforces Round #108 (Div. 2)——状态压缩DP+spfa+dfs——Garden
Vasya has a very beautiful country garden that can be represented as ann?×?mrectangular field divided inton·msquares. One beautiful day Vasya remember...
分类:其他好文   时间:2015-07-20 16:07:30    阅读次数:171
codeforces 557 E Ann and Half-Palindrome
题意是要求出一个串的第k大的半回文子串 半回文串的定义是:若一个串其实位置为1,那么当所有奇数位i,且i 那么这个串就是半回文串。 作法就是,把这个串的所有半回文子串建成一个字典树,然后查第k大就好了 #include #include #include #include #include #include #include #include #include #i...
分类:其他好文   时间:2015-07-19 10:09:46    阅读次数:125
2015 HUAS Summer Training#1 B
题目:A Ducci sequence is a sequence ofn-tuples of integers. Given ann-tuple of integers(a1,a2,...,an), the nextn-tuple in the sequence is formed by taki...
分类:其他好文   时间:2015-07-17 22:34:29    阅读次数:226
Ducci Sequence
DescriptionA Ducci sequence is a sequence ofn-tuples of integers. Given ann-tuple of integers(a1,a2,...,an), the nextn-tuple in the sequence is formed...
分类:其他好文   时间:2015-07-17 15:40:07    阅读次数:125
Codeforces 577E Ann and Half-Palindrome 字典树
题目链接 题意: 若一个字符串是半回文串,则满足第一位和最后一位相等, 第三位和倒数第三位相等,如此类推。 给定一个字符串s,输出s的所有子串中的半回文串字典序第k大的 字符串。 good[i][j] 表示 s(i,j) 是半回文串。 把这些回文串插到字典树里 在字典树上找第k个叶子节点。 插入时:插入以i点开头的所有半回文串。 #include #include ...
分类:其他好文   时间:2015-07-17 00:34:29    阅读次数:169
Ducci Sequence解题报告
A Ducci sequence is a sequence ofn-tuples of integers. Given ann-tuple of integers(a1,a2,...,an), the nextn-tuple in the sequence is formed by taking ...
分类:其他好文   时间:2015-07-16 23:54:10    阅读次数:270
Ducci Sequence 解题心得
原题贴上A Ducci sequence is a sequence ofn-tuples of integers. Given ann-tuple of integers(a1,a2,...,an), the nextn-tuple in the sequence is formed by tak...
分类:其他好文   时间:2015-07-15 11:01:21    阅读次数:157
[leedcode 51] N-Queens
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:其他好文   时间:2015-07-12 16:58:46    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!