- 博客(519)
- 资源 (83)
- 收藏
- 关注
原创 Nyoj 70 阶乘因式分解(二)
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=70#includeusing namespace std;int main(){ int T; int n, m, num; cin >> T; while(T--) { num = 0; cin >>n
2014-04-28 22:02:50 605
原创 poj 2654 Rock-Paper-Scissors Tournament
题目来源:http://poj.org/problem?id=2654#include #include #include using namespace std;const int MAXN = 210;int main(){ char m1[10], m2[10]; int iWin[MAXN], iLose[MAXN], p1, p2, i, n, m,
2014-04-28 21:15:18 1179
原创 poj 1298 The Hardest Problem Ever
题目来源:http://poj.org/problem?id=1298#include #include #include #include #include #include using namespace std;int main(){ string str; int i; while( cin>>str ) { cin
2014-04-28 20:07:40 712
原创 Nyoj 56 阶乘因式分解(一)
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=56
2014-04-28 18:26:05 592
原创 Nyoj 46 最少乘法次数
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=46这里用到的是快速取幂
2014-04-27 21:52:48 965 2
原创 nyoj 34 韩信点兵
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=34这水题,
2014-04-27 21:23:28 805
原创 nyoj 23 取石子(一)
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=23简单的巴什博奕,
2014-04-27 21:13:46 657
原创 Nyoj 22 素数求和问题
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=22#include #include #include using namespace std;const int MAXN = 1010;int IsPrime[MAXN];void Check_Prime(){ int i, j; for(i
2014-04-27 21:04:45 778
原创 Nyoj 7 街区最短路径问题
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=7坑爹的题!居然
2014-04-27 20:36:12 604
原创 UVA 10894 - Save Hridoy
题目来源:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1835模拟!
2014-04-27 16:20:54 743
原创 Light oj 1007 - Mathematically Hard
题目来源:http://www.lightoj.com/volume_showproblem.php?problem=1007这个题就是欧拉函数,
2014-04-27 14:56:05 662
原创 poj 2339 Rock, Scissors, Paper
题目来源:http://poj.org/problem?id=2339小模拟,注意字母的
2014-04-27 10:16:24 709
原创 Common Divisors
题目来源:http://codeforces.com/contest/182/problem/D D. Common Divisorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has...
2014-04-25 12:49:46 988
原创 Huffman编码
#include #include #include #include using namespace std;typedef int ElemType;struct BTreeNode{ ElemType data; BTreeNode* left; BTreeNode* right;};BTreeNode* CreateHuffman(Elem
2014-04-24 21:12:30 801
原创 NYoj 60 谁获得了最高奖学金
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=60#include #include #include #include using namespace std;const int MAXN = 110;struct studentNode{ char name[21]; int average;
2014-04-24 21:10:57 781
原创 Nyoj 寻找最大数 448
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=448分析:
2014-04-22 17:04:02 730
原创 UVA 11729 - Commando War
题目来源:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=117&page=show_problem&problem=2829这个题把
2014-04-21 20:53:17 804
原创 hdu 4502 吉哥系列故事——临时工计划
题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=4502本题是动态规划,dp[i]表示到今天所能挣到最多的钱,dp[i] = MAX(dp[i], dp[j] + a[j+1][i]);其中a[i][j]表示:从i到j天的工资! #include <iostream>#include <cstdio>#incl...
2014-04-21 20:15:46 806
原创 nyoj 287 Radar
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=287#include #include #include #include #include #include using namespace std;const int MAXN = 1010;int main(){ int n, r, i, kca
2014-04-20 18:19:27 704
原创 Nyoj 30 Gone Fishing
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=30这题有必要叙述一下
2014-04-20 13:31:56 858
原创 编程之美 活动中心
时间限制:12000ms单点时限:6000ms内存限制:256MB描述A市是一个高度规划的城市,但是科技高端发达的地方,居民们也不能忘记运动和锻炼,因此城市规划局在设计A市的时候也要考虑为居民们建造一个活动中心,方便居住在A市的居民们能随时开展运动,锻炼强健的身心。城市规划局希望活动中心的位置满足以下条件:1. 到所有居住地的总距离最小。2. 为
2014-04-19 18:14:06 1096
原创 编程之美 焦距
描述一般来说,我们采用针孔相机模型,也就是认为它用到的是小孔成像原理。在相机坐标系下,一般来说,我们用到的单位长度,不是“米”这样的国际单位,而是相邻像素的长度。而焦距在相机坐标系中的大小,是在图像处理领域的一个非常重要的物理量。假设我们已经根据相机参数,得到镜头的物理焦距大小(focal length),和相机胶片的宽度(CCD width),以及照片的横向分辨率(image wid
2014-04-19 18:12:08 763
原创 Hoj LC-Display 1138
题目来源:http://acm.hit.edu.cn/hoj/problem/view?id=1138模拟!
2014-04-18 17:32:27 629
原创 Nyoj 47 过河问题
题目来源:http://acm.nyist.net/JudgeOnline/problem.php?pid=47资料参考:
2014-04-18 15:27:03 826
转载 过桥问题
一、问题 在漆黑的夜里,四位旅行者来到了一座狭窄而且没有护栏的桥边。如果不借助手电筒的话,大家是无论如何也不敢过桥去的。不幸的是,四个人一共只带了一只手电筒,而桥窄得只够让两个人同时过。如果各自单独过桥的话,四人所需要的时间分别是1、2、5、8分钟;而如果两人同时过桥,所需要的时间就是走得比较慢的那个人单独行动时所需的时间。问题是,如何设计一个方案,让这四人尽快过桥。 假设这四人分别为A、
2014-04-18 14:00:52 1045
从Word Embedding到Bert模型—自然语言处理中的预训练技术发展史
2018-11-19
word2vec系列资料
2018-11-19
word2vec 中的数学原理详解
2018-11-01
CRF++0.58-Linux+Windows
2018-09-29
npp++32位+NPPTextFx.dll
2018-09-27
李航-《统计学习方法》高清完整版(带书签)
2018-09-17
Stanford NLP note - Christopher Manning教授-完整吧
2018-08-08
Stanford NLP note - Christopher Manning教授
2018-08-08
21天学通Java-第7版-超清带书签.pdf
2018-07-27
计算机统计自然语言处理PDF
2018-07-26
Tensorflow 实战Google深度学习框架-清晰-带书签
2018-01-17
TensorFlow Machine Learning Cookbook.pdf
2018-01-17
最大熵模型与自然语言处理
2017-09-01
cudnn 5.1 for CUDA 8.0 Linux
2017-07-05
Mastering Machine Learning With scikit-learn(中文版)
2017-03-09
李宏毅 一天搞懂深度学习.ppt版下载
2017-02-23
Neural Network and Deep Learning--神经网络与深度学习--中文 高清完整.pdf版下载
2017-02-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人