摘要:
预备知识:贝叶斯公式:A、B事件。在A发生条件下B发生的概率=在B发生条件下A发生的概率*B发生的概率/A发生的概率P(B|A)=P(A|B)P(B) / P(A)全概率公式:特别的,设实验E的样本空间为S,A为E的事件,B1,B2,...,Bn为S的一个划分,且P(Bi)>0(i=1,2,...,... 阅读全文
摘要:
1.注意属性为String的数据在JDBC操作语句中要加单引号例子:conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/sounds","root", "root"); stmt = conn.createStat... 阅读全文
摘要:
Lake CountingTime Limit:1000MSMemory Limit:65536KTotal Submissions:24578Accepted:12407DescriptionDue to recent rains, water has pooled in various plac... 阅读全文
摘要:
Fence RepairTime Limit:2000MSMemory Limit:65536KTotal Submissions:33128Accepted:10702DescriptionFarmer John wants to repair a small length of the fenc... 阅读全文
摘要:
Saruman's ArmyTime Limit:1000MSMemory Limit:65536KTotal Submissions:5760Accepted:2949DescriptionSaruman the White must lead his army along a straight ... 阅读全文
摘要:
1100. Mars Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard 作者CHEN, YuePeople on Mars count their numbers with base 13:Zero on Earth is cal... 阅读全文
摘要:
1101. Quick Sort (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard 作者CAO, PengThere is a classical process named partition in the famous quick sort ... 阅读全文
摘要:
08-图7公路村村通(30分)现有村落间道路的统计数据表中,列出了有可能建设成标准公路的若干条道路的成本,求使每个村落都有公路连通所需要的最低成本。输入格式:输入数据包括城镇数目正整数N(≤1000)和候选道路数目M(≤3N);随后的M行对应M条道路,每行给出3个正整数,分别是该条道路直接连通的两个... 阅读全文
摘要:
1004. Counting Leaves (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a pedigree tree. Your j... 阅读全文
摘要:
1080. Graduate Admission (30)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIt is said that in 2013, there were about 100 graduate schools ... 阅读全文