CSUST 1530 快速找錢

歡迎來到CSUST Online Judge System1530: 快速找錢Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 5  Solved: 3SubmitStatusWeb

hdu1317 bellman-ford+floyd

XYZZYTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1461    Accepted Submission(s): 361Problem DescriptionIt has recently been discovered how to run open-source software on the Y-Crate gaming

大數相加

原作者已經找不到了,但是我是從CSUST的部落格欄中看到的,一個很好的模板。我看到的文章來源(不是原出處):http://blog.csdn.net/csust_acm/article/details/7268029//大數相加#include <stdio.h>#include<string.h>int main(){int i,d,j,d1;char a[100];int b[101]={0};int c[100]={0};//

大數加法程式,僅供參考(陳淵)

#include <stdio.h>#include<string.h>int main(){int i,d,j,d1;char a[100];int b[101]={0};int c[100]={0};// memset(b,0,sizeof(b));// memset(c,0,sizeof(c));scanf("%s",a);d=strlen(a);  for(i=d-1,j=0;i>=0;i--)  b[j++]=a[i]-'0';scanf("%s",a);

POJ 3295 Tautology

媽啊,這竟然是一道離散數學題、、、什麼析取、合取、非、蘊含式、等價了。。。。多虧期末考試結束不久啊否則就sad了啊、、、、大體的題意就是求所給的式子是否為永真式、、、一共有五個元素,,,所給的字串倒著看就是式子的尾碼運算式。。先轉換在判斷。。2^5一共32種情況進行枚舉有假的情況就標記輸出not否則就是tautology、、、、不再贅述下面是代碼。。。#include <stdio.h>#include <stdlib.h>#include

線性表的鏈式表(單鏈表類型)

仿寫的一個簡單而傻逼的程式,線性表入門。。。希望把這幾個程式弄完了,能搞出個簡單的系統來O(∩_∩)O/*******************************************實驗內容二: 1.用C語言定義線性表的鏈式儲存結構(單鏈表)類型; 2.編製鏈式儲存結構下的線性表的輸入程式; 3.編製鏈式儲存結構下線性表的插入演算法程式或刪除演算法程式; 4.編製鏈式儲存結構下的線性表的輸出程式; 5.在鏈式儲存結構下編製主程式:輸入一個具體的線性表,

hdu 3874 Necklace【樹狀數組簡單應用】

連結:http://acm.hdu.edu.cn/showproblem.php?pid=3874http://acm.hust.edu.cn/vjudge/contest/view.action?cid=28619#problem/ANecklaceTime Limit: 15000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1957    Accepted

POJ 1321 棋盤問題【從頭練dfs】

連結: http://poj.org/problem?id=1321http://acm.hust.edu.cn/vjudge/contest/view.action?cid=22009#problem/D棋盤問題Time Limit: 1000MS Memory Limit: 10000KTotal

POJ 3278 Catch That Cow 【bfs+隊列】

原題連結:http://poj.org/problem?id=3278演算法:bfs+隊列+STL(C++)PS:bfs入門題目,好高興啊,終於會用bfs了。Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 32679 Accepted: 10060DescriptionFarmer John has been informed of the location of a fugitive cow

hdu 2955(DP背包問題)

DP背包問題(關於搶銀行成功機率) 題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=2955RobberiesTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4778    Accepted Submission(s): 1808Problem DescriptionThe aspiring

POJ 3083 Children of the Candy Corn

一個類比+bfs就可以水過但是代碼量稍微有點大啊、、、不多說了啊滿滿的都是淚啊,由於bfs標記的錯誤,RE了十次啊!(bfs每次入隊都要進行標記啊!!一定要記住啊!!!)後來又是跳出迴圈break的位置寫錯了啊,又是WA啊,寫了前前後後八九個小時啊!不停地出錯啊、、、菜鳥傷不起啊,智商真是著急啊、、、Children of the Candy CornTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8108 Accepted: 

hdu 1058 Humble Numbers【醜數】

DP&&英語==題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=1058Humble NumbersTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9933    Accepted Submission(s): 4291Problem DescriptionA number

zoj 3721 Final Exam Arrangement【貪心】

題目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3721來源:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=26644#problem/FFinal Exam ArrangementTime Limit: 4 Seconds      Memory Limit: 65536 KB      Special JudgeIn Zhejiang

hdu 1025 Constructing Roads In JGShining’s Kingdom【即求最長上升子序列】

DP(呃,兩邊不交叉修路的那道。。。)題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=1025Constructing Roads In JGShining's KingdomTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9069    Accepted Submission(s): 257

Hdu-1142 A Walk Through the Forest

題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=1142題目大意:給你一個圖,找最短路。但是有個非一般的的條件:如果a,b之間有路,且你選擇要走這條路,那麼必須保證a到終點的所有路都小於b到終點的一條路。問滿足這樣的路徑條數

hdu 2602 Bone Collector【01背包】

最經典、最基礎的01背包入門題目題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=2602Bone CollectorTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13839    Accepted Submission(s): 5454Problem DescriptionMany

zoj 3356 Football Gambling II【枚舉+精度問題】

題目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3356http://acm.hust.edu.cn/vjudge/contest/view.action?cid=26732#problem/DFootball Gambling IITime Limit: 3 Seconds      Memory Limit: 65536 KBThe 2010 FIFA World Cup toke place between 1

POJ 3624 Charm Bracelet【裸01背包和關於貪心解 01 背包問題的思考】

原題連結:http://poj.org/problem?id=3624我的連結:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=20437#problem/A歡迎來水Charm BraceletTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14963 Accepted: 6840DescriptionBessie has gone to the mall's

POJ 3259 Wormholes【bellman_ford判斷負環——基礎入門題】

連結:http://poj.org/problem?id=3259http://acm.hust.edu.cn/vjudge/contest/view.action?cid=22010#problem/BWormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 25079 Accepted: 8946DescriptionWhile exploring his many farms, Farmer John has

hdu 1541 Stars【樹狀數組簡單應用】

連結:http://acm.hdu.edu.cn/showproblem.php?pid=1541http://acm.hust.edu.cn/vjudge/contest/view.action?cid=28619#problem/CStarsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3474    Accepted

總頁數: 61357 1 .... 26084 26085 26086 26087 26088 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.