码迷,mamicode.com
首页 >  
搜索关键字:io    ( 172858个结果
POJ 3984
通过BFS解决迷宫问题,再利用一个last[]数组由出口倒置回来不断找到上一个点的位置,最终返回入口,而得到这条最短路径代码: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int map[5][5]; 8 int d.....
分类:其他好文   时间:2014-07-21 10:02:02    阅读次数:204
Oracle 12c 操作 CDB PDB
CREATE TRIGGER open_all_pdbs AFTER STARTUP ON DATABASEBEGIN EXECUTE IMMEDIATE 'alter pluggable database all open';END open_all_pdbs;/alter plugg...
分类:数据库   时间:2014-07-21 10:01:55    阅读次数:206
素数槽csuoj
超时代码:#include using namespace std;//写一个函数判断是否是素数bool isPrime(int num){int i=2;//coutnum)return true; else return false;}int main(){ int T; cin>>...
分类:其他好文   时间:2014-07-21 10:01:49    阅读次数:246
ML| EM
What's xxxThe EM algorithm is used to find the maximum likelihood parameters of a statistical model in cases where the equations cannot be solved dire...
分类:其他好文   时间:2014-07-21 10:01:10    阅读次数:243
ZOJ 1232 Adventure of Super Mario SPFA+DP
第一次做类似的题目,卡了好几天,最后看了爱酱的blog(http://blog.csdn.net/acm_cxlove/article/details/8679230)才会的,sad题意大概是这样,给你一个图,求起点1到N的最短时间,你有一双鞋子,可以加速,一次性花费0的时间行走M单位的路程,但是鞋...
分类:其他好文   时间:2014-07-21 10:00:38    阅读次数:242
【leetcode刷题笔记】Plus One
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:其他好文   时间:2014-07-21 10:00:12    阅读次数:185
Camel In Action 阅读笔记 总序
日常工作中经常会用到Camel并解决相关问题, 可能和自己的工作经历有关,自己很喜欢这个项目,对著作Camel In Action 十分敬仰,偶然发现有些网友希望能看到Camel In Action中文版本,博主觉得可以做这件有意义的事。 在下不才,不敢以翻译二字来做这件事情,但也会尽自己最大的努力...
分类:其他好文   时间:2014-07-21 10:00:05    阅读次数:241
Codeforces Round #258 (Div. 2)
A - Jzzhu and Children找到最大的ceil(ai/m)即可#include #include using namespace std;int main(){ int n,m; cin >> n >> m; double a, maxv = 0; int m...
分类:其他好文   时间:2014-07-21 09:39:57    阅读次数:327
flex中通过sprite在地图上画柱状图主要代码
1.主要代码: var sprite:Sprite = new Sprite(); var columnSys:ColumnSymbol = new ColumnSymbol(); var fieldArr:Array = new Array("绿标总数","黄标总数"); var colorArr...
分类:其他好文   时间:2014-07-21 09:39:31    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!