Time of Update: 2018-12-03
歡迎來到CSUST Online Judge System1530: 快速找錢Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 5 Solved: 3SubmitStatusWeb
Time of Update: 2018-12-03
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
Time of Update: 2018-12-03
原作者已經找不到了,但是我是從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};//
Time of Update: 2018-12-03
#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);
Time of Update: 2018-12-03
媽啊,這竟然是一道離散數學題、、、什麼析取、合取、非、蘊含式、等價了。。。。多虧期末考試結束不久啊否則就sad了啊、、、、大體的題意就是求所給的式子是否為永真式、、、一共有五個元素,,,所給的字串倒著看就是式子的尾碼運算式。。先轉換在判斷。。2^5一共32種情況進行枚舉有假的情況就標記輸出not否則就是tautology、、、、不再贅述下面是代碼。。。#include <stdio.h>#include <stdlib.h>#include
Time of Update: 2018-12-03
仿寫的一個簡單而傻逼的程式,線性表入門。。。希望把這幾個程式弄完了,能搞出個簡單的系統來O(∩_∩)O/*******************************************實驗內容二: 1.用C語言定義線性表的鏈式儲存結構(單鏈表)類型; 2.編製鏈式儲存結構下的線性表的輸入程式; 3.編製鏈式儲存結構下線性表的插入演算法程式或刪除演算法程式; 4.編製鏈式儲存結構下的線性表的輸出程式; 5.在鏈式儲存結構下編製主程式:輸入一個具體的線性表,
Time of Update: 2018-12-03
連結: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
Time of Update: 2018-12-03
連結: http://poj.org/problem?id=1321http://acm.hust.edu.cn/vjudge/contest/view.action?cid=22009#problem/D棋盤問題Time Limit: 1000MS Memory Limit: 10000KTotal
Time of Update: 2018-12-03
原題連結: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
Time of Update: 2018-12-03
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
Time of Update: 2018-12-03
一個類比+bfs就可以水過但是代碼量稍微有點大啊、、、不多說了啊滿滿的都是淚啊,由於bfs標記的錯誤,RE了十次啊!(bfs每次入隊都要進行標記啊!!一定要記住啊!!!)後來又是跳出迴圈break的位置寫錯了啊,又是WA啊,寫了前前後後八九個小時啊!不停地出錯啊、、、菜鳥傷不起啊,智商真是著急啊、、、Children of the Candy CornTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8108 Accepted:
Time of Update: 2018-12-03
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
Time of Update: 2018-12-03
題目: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
Time of Update: 2018-12-03
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
Time of Update: 2018-12-03
題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=1142題目大意:給你一個圖,找最短路。但是有個非一般的的條件:如果a,b之間有路,且你選擇要走這條路,那麼必須保證a到終點的所有路都小於b到終點的一條路。問滿足這樣的路徑條數
Time of Update: 2018-12-03
最經典、最基礎的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
Time of Update: 2018-12-03
題目: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
Time of Update: 2018-12-03
原題連結: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
Time of Update: 2018-12-03
連結: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
Time of Update: 2018-12-03
連結: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