编程及软件开发解决方案库

2000万优秀解决方案库,覆盖所有编程及软件开发类,极速查询

今日已更新 1090 篇代码解决方案

  • 1:hdu 2212 DFS(题)

                        DFSTime Limit: 5000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4923    Accepted Submission(s):

    https://www.u72.net/daima/rw96.html - 2024-07-12 03:19:38 - 代码库
  • 2:poj 1579 Moving Tables(

                        DescriptionThe Recaman‘s sequence is defined by a0 = 0 ; for m > 0, a m = a m−1 − m if the rsulting a m is positive and not alr

    https://www.u72.net/daima/c5un.html - 2024-07-11 09:11:44 - 代码库
  • 3:HDU 4981 Goffi and Median(

                        HDU 4981 Goffi and Median思路:排序就可以得到中间数,然后总和和中间数*n比较一下即可代码:#include <cstdio>#include <cstring>#include <cmath>#in

    https://www.u72.net/daima/101b.html - 2024-07-19 06:57:51 - 代码库
  • 4:hdu 1106 排序(题)

                        题目描述:  输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应

    https://www.u72.net/daima/1495.html - 2024-08-31 04:18:18 - 代码库
  • 5:杭电 2710(题)

                        Max Factor<span size="+0"><strong><span style="font-family:Arial;font-size:12px;color:green;FONT-WEIGHT: bold">Time Limit: 2000/1000 MS (Jav

    https://www.u72.net/daima/xfa9.html - 2024-07-16 23:27:18 - 代码库
  • 6:树形DP题杂记

                        BZOJ1131: [POI2008]Sta题意:给出一个N个点的树,找出一个点来,以这个点为根的树时,所有点的深度之和最大。题解:记录每个点的深度,再根据根节点的深度和

    https://www.u72.net/daima/xs20.html - 2024-08-27 04:40:58 - 代码库
  • 7:HDU 4968 (dp 其他?)

                         1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 #include <vector> 5 #include <map> 6 using namespace std; 7 const i

    https://www.u72.net/daima/063u.html - 2024-07-18 11:46:18 - 代码库
  • 8:hdu模版题目2896

                        没啥好说的。代码注释,可以秒懂//照打的。跟模板的差别是引入了used数组和一个flag标记#include <cstdio>#include <cstring>#include <queue>using nam

    https://www.u72.net/daima/wk76.html - 2024-07-15 21:41:38 - 代码库
  • 9:POJ 2538 WERTYU(题)

                        【题目简述】:题意很简单,没有trick.【分析】:其实这题还是挺有趣的,在 算法竞赛入门经典中也有这一题。详见代码:// 120K  0Ms/* 边学边做 …… */// 字

    https://www.u72.net/daima/5vrd.html - 2024-07-23 08:01:25 - 代码库
  • 10:POJ 2365 Rope(题)

                        【题意简述】:给出我们钉子个数与半径,让我们求出缠绕在钉子上的绳子有多长。【分析】:从题目中我们可以看出,绳子长度的和等于每两个钉子的距离的和加上接

    https://www.u72.net/daima/5vr3.html - 2024-07-23 08:02:37 - 代码库
  • 11:HDU1172 暴力

                        猜数字Time Limit: 20000/10000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2722    Accepted Submission

    https://www.u72.net/daima/4arv.html - 2024-07-21 20:22:38 - 代码库
  • 12:poj1002(题)

                        1.题目描述                                                                                                        487-3279Time Limit: 2000MS

    https://www.u72.net/daima/5b48.html - 2024-07-23 02:44:57 - 代码库
  • 13:POJ 2039 To and Fro(题)

                        【题目简述】:字符串的简单处理,看懂题意,特别是他给的那个例子就好,很简单见代码:#include<iostream>#include<cstring>#include<cstdio>#include<algo

    https://www.u72.net/daima/3n41.html - 2024-07-20 20:28:18 - 代码库
  • 14:】wikioi1073 家族

                        1073 家族 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 大师 Master 题目描述 Description若某个家族人员过于庞大,要判断两个是否是亲戚,确实还很不

    https://www.u72.net/daima/4ukk.html - 2024-07-22 06:06:12 - 代码库
  • 15:POJ 2665 Trees(题)

                        【题意简述】:就是有一段路上有和长度加一的值相等的数目,现在要在这条路上修路,所以要砍掉一些树,问剩下了多少树。【分析】:很简单,注意一的处理就好

    https://www.u72.net/daima/6b88.html - 2024-07-24 03:49:24 - 代码库
  • 16:HDU 4802-GPA(

                        GPATime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1471    Accepted Submission(s):

    https://www.u72.net/daima/9dzz.html - 2024-07-27 05:38:31 - 代码库
  • 17:Codeforces 474A Keyboard (

                        题目链接:点击打开链接键盘移位了,问输出对应的字母#include <cstdio>#include <cstring>char a[105];char b[3][11] = {"qwertyuiop","asdfghjkl;","

    https://www.u72.net/daima/79b3.html - 2024-07-25 21:04:52 - 代码库
  • 18:】JSOI完美的对称

                        完美的对称题目描述在峰会期间,必须使用许多保镖保卫北约组织的各国代表。代表们除了由他自己的随身保镖保护外,组委会还指派了一些其他的特工和阻击手保

    https://www.u72.net/daima/7fvh.html - 2024-07-25 05:29:30 - 代码库
  • 19:Codeforces-Translation(题)

                        The translation from the Berland language into the Birland language is not an easy task. Those languages are very similar: a berlandish word

    https://www.u72.net/daima/7ba7.html - 2024-09-09 17:31:27 - 代码库
  • 20:减肥版忘情

                        曾经年少太肥胖一心只想快减肥,  走遍小巷和大街发现只有我最肥。  蓦然回首看腰围身材不如叶小楣,  才明白吃吃喝喝最后是自己倒楣。  如果你不

    https://www.u72.net/daima/98em.html - 2024-07-27 23:06:00 - 代码库