<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12
      書山有徑勤為路>>>>>>>>

      <<<<<<<<學(xué)海無涯苦作舟!

      2011年10月12日

      大整數(shù)乘法——簡單

      摘要: 寫這個程序的時候有三個關(guān)鍵點,知道了這個,你Win, Or, 你Lose!我將它們一一注釋在了代碼中。View Code #include "iostream"#include "cstring"#include "string"using namespace std;#define maxlen 200int a[maxlen]; int b[maxlen]; int c[2*maxlen+1]; //這個地方也是個關(guān)鍵,一定要多加一個正數(shù),不然錯string s1;string s2;int main(){ while(cin&g 閱讀全文

      posted @ 2011-10-12 11:24 More study needed. 閱讀(318) 評論(0) 推薦(0)

      2011年10月10日

      大整數(shù)加法——帶有負(fù)數(shù)的

      摘要: #include "iostream"#include "string"#include "cstring"using namespace std;#define maxlen 2001int a[maxlen];int b[maxlen];int len1, len2, i, j;int bigger(int a, int b){ return a>b?a:b;}void Add(int underzero){ if(underzero) cout<<'-'; int big = bigger(le 閱讀全文

      posted @ 2011-10-10 21:53 More study needed. 閱讀(505) 評論(0) 推薦(0)

      大整數(shù)加法——最簡單的

      摘要: #include<iostream>#include<string>#include<cstring>using namespace std;#define maxlen 200int a[maxlen];int b[maxlen];int bigger(int a, int b){ return a>b?a:b;}int main(){ string s1, s2; while(cin>>s1>>s2) { int len1 = s1.length(); int len2 = s2.length(); memset(a, 0, 閱讀全文

      posted @ 2011-10-10 21:51 More study needed. 閱讀(207) 評論(0) 推薦(0)

      2011年10月7日

      spfa算法解決POJ 2387

      摘要: DescriptionBessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to get back as quickly as possible.Farmer John's field has N (2 <= N <= 1000) landmarks 閱讀全文

      posted @ 2011-10-07 10:20 More study needed. 閱讀(232) 評論(0) 推薦(0)

      2011年10月4日

      BellmanFord解決POJ 3259

      摘要: 題目:http://poj.org/problem?id=3259題目大意:一個famer有一些農(nóng)場,這些農(nóng)場里面有一些田地,田地里面有一些蟲洞,田地和田地之間有路,蟲洞有這樣的性質(zhì): 時間倒流。問你這個農(nóng)民能不能看到他自己,也就是說,有沒有這樣一條路徑,能利用蟲洞的時間倒流的性質(zhì),讓這個人能在這個點出發(fā)前回去,這樣他就是能看到他自己了 其實要想搞明白這道題目十分的簡單,但前提是,你看了我的“Dijkstra算法解決POJ 2263”這篇文章,其余的也就不多說了,該說的我都在注釋中說明白了。View Code #include<iostream>using namespace st 閱讀全文

      posted @ 2011-10-04 20:27 More study needed. 閱讀(466) 評論(0) 推薦(0)

      Floyd算法解決POJ 2263

      摘要: DescriptionBig Johnsson Trucks Inc. is a company specialized in manufacturing big trucks. Their latest model, the Godzilla V12, is so big that the amount of cargo you can transport with it is never limited by the truck itself. It is only limited by the weight restrictions that apply for the roads al 閱讀全文

      posted @ 2011-10-04 11:52 More study needed. 閱讀(390) 評論(0) 推薦(0)

      2011年10月3日

      Dijkstra解決POJ 2263

      摘要: 題目:http://poj.org/problem?id=2263題目大意:有n個城市,r條連接兩個城市的道路,每條道路有自己的最大復(fù)載量?,F(xiàn)在問從城市cst到城市cen,車上的最大載重能為多少。雖然是提交了,也搞懂了,但是還沒有徹底的明白。因此,也不便多說什么,當(dāng)我徹底明白的時候再說吧。呵呵,終于完全的明白了,下面指出一二。1.一定要明白map[][]的雙關(guān)性,何為雙關(guān)? (1).map[i][j]表示i到j(luò)的距離 (2).map[i][j]=0表示i到j(luò)不可以直接可達(dá) 要達(dá)到這種效果,首先將map[][]全部賦值為0, 然后存儲建圖,在建圖的過程中自然的將直接可達(dá) 的兩點賦值為不... 閱讀全文

      posted @ 2011-10-03 22:21 More study needed. 閱讀(1213) 評論(2) 推薦(2)

      Floyd算法解決POJ 1603

      摘要: DescriptionRisk is a board game in which several opposing players attempt to conquer the world. The gameboard consists of a world map broken up into hypothetical countries. During a player's turn, armies stationed in one country are only allowed to attack only countries with which they share a c 閱讀全文

      posted @ 2011-10-03 19:42 More study needed. 閱讀(550) 評論(0) 推薦(0)

      2011年10月2日

      sscanf 你會用嗎?

      摘要: DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.InputInput consists of up to 100,000 dictionary entries, followed by a blank line, followed by a message 閱讀全文

      posted @ 2011-10-02 17:21 More study needed. 閱讀(248) 評論(0) 推薦(0)

      Trie解決POJ 2503

      摘要: 題目:http://poj.org/problem?id=2503就是一個字典樹的簡單應(yīng)用, 不解釋。View Code #include "iostream"using namespace std;typedef struct node{ char word[21]; int mark; struct node * next[26];}node;node * root;void InitRoot(){ root = new node(); root->mark=0; memset(root->next, NULL, sizeof(root->next)) 閱讀全文

      posted @ 2011-10-02 17:10 More study needed. 閱讀(283) 評論(0) 推薦(0)

      導(dǎo)航

      書山有徑勤為路>>>>>>>>

      <<<<<<<<學(xué)海無涯苦作舟!

      主站蜘蛛池模板: 啦啦啦视频在线日韩精品| 精品午夜福利短视频一区| 久久99精品国产麻豆婷婷| 一区二区三区激情免费视频| 国内少妇偷人精品视频| 亚洲精品国产综合麻豆久久99| 人妻系列无码专区久久五月天 | 天天做天天爱夜夜爽导航| 欧美亚洲人成网站在线观看| 九九热精品在线观看视频| 岛国中文字幕一区二区| 成人3D动漫一区二区三区| 亚洲男女羞羞无遮挡久久丫 | 国产日韩一区二区天美麻豆| 忘忧草在线社区www中国中文| 一区二区中文字幕久久| 五月天国产成人av免费观看| 国产日韩一区二区天美麻豆 | 精品国产成人国产在线观看| 亚洲精品国产av成拍色拍个| 免费网站看av片| 在线天堂最新版资源| 777天堂麻豆爱综合视频| 亚洲综合一区二区三区视频| 久久国产成人av蜜臀| 55大东北熟女啪啪嗷嗷叫| 人妻少妇精品无码专区二区| 日韩精品一区二区亚洲专区| 国产精品制服丝袜无码| 国产午夜91福利一区二区| 国产无遮挡又黄又大又爽| 国产精品久久久久久久9999 | 99噜噜噜在线播放| 激情综合五月| 77777五月色婷婷丁香视频| 日韩视频一区二区三区视频| 午夜免费无码福利视频麻豆| 中文字幕乱码一区二区免费| 欧美日韩在线亚洲二区综二| 极品美女aⅴ在线观看| 国产精品十八禁一区二区 |