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

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

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

  • 1:XDOJ_1071_

                        http://acm.xidian.edu.cn/problem.php?id=1071 固定一个角。 #include<iostream>#include<cstring>#include<cstdio>#include<algorithm>usi

    https://www.u72.net/daima/rera.html - 2024-08-19 14:34:12 - 代码库
  • 2:XDOJ_1142_

                        http://acm.xidian.edu.cn/problem.php?id=1142 记录字符串中哪些出现过。 #include<iostream>#include<cstdio>#include<cstring>#include<al

    https://www.u72.net/daima/rh94.html - 2024-08-18 08:30:18 - 代码库
  • 3:[]ZOJ1201

                        给原排列 求 其前面有多少个数比他大,给每个数1...2..n前面有多少个数比他大,求原序列 第一个直接统计第二个从1开始找出第inv【i】+1个空位置放进去

    https://www.u72.net/daima/w2aa.html - 2024-07-16 08:06:29 - 代码库
  • 4:HDU 4960 (dp)

                        Another OCD PatientProblem DescriptionXiaoji is an OCD (obsessive-compulsive disorder) patient. This morning, his children played with plast

    https://www.u72.net/daima/061k.html - 2024-07-18 11:42:14 - 代码库
  • 5:UVALive 6430 (dp)

                        https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4441 题意:有n个靶子,每个靶子有3个val,需

    https://www.u72.net/daima/0f7u.html - 2024-07-17 23:43:20 - 代码库
  • 6:HDU 5012 BFS

                        2014 ACM/ICPC Asia Regional Xi‘an Online对于一个筛子,规定了以底面的四个边为轴,可以进行翻转,给出起始状态,求最少步骤到目标状态。简单BFS#include

    https://www.u72.net/daima/4e5u.html - 2024-07-22 19:33:44 - 代码库
  • 7:题可耻

                        #include <cstdio>#include <cstring>#include <iostream>#include <algorithm>#include <cstdlib>#include <cmath>#include <utility>#include <vect

    https://www.u72.net/daima/2w4x.html - 2024-07-20 06:22:28 - 代码库
  • 8:hdu 5038 Grade

                        用map,也可以用数组,少了个特判WA了一发。#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>#include <cmath>#include <ve

    https://www.u72.net/daima/56wm.html - 2024-07-23 16:29:31 - 代码库
  • 9:hdu 5038 Grade(

                        题目链接:huangjing思路:这个题目应该随便怎么搞都可以,我说一下我的思路,可以根据题目的数据计算出价值的取值范围为0~10000,所以用一个1w的

    https://www.u72.net/daima/5ewm.html - 2024-07-23 20:14:39 - 代码库
  • 10:4452 模拟

                        #include<stdio.h>#include<string.h>#include<iostream>using namespace std;int abs(int a){    return a>0?a:(-a+1);}int main(){

    https://www.u72.net/daima/9d06.html - 2024-07-27 06:06:27 - 代码库
  • 11:UVALive 6530 Football (

                        题目链接:点击打开链#include <cstdio>#include <vector>#include <algorithm>using namespace std;typedef long long ll;vector<int> s;int mai

    https://www.u72.net/daima/naawk.html - 2024-07-30 04:59:49 - 代码库
  • 12:BZOJ 1218 枚举

                        a[i][j]记录以i,j为右下角的矩形内所有价值和,然后枚举每一个点位置的正方形所能取得的价值#include "stdio.h"#include "string.h"int

    https://www.u72.net/daima/euhk.html - 2024-07-28 12:06:11 - 代码库
  • 13:HDU 3682 模拟

                        n*n*n的图形,m条线,每条线上的方格被删除,问一共删除了多少个方格ans=m*n ,然后判断一下直线相交的交点,去重即可#include "stdio.h"#include

    https://www.u72.net/daima/80x3.html - 2024-07-26 13:58:15 - 代码库
  • 14:动波纹字

                        <!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Document</title></head><style type="text/css">#d{height:10

    https://www.u72.net/daima/e2b5.html - 2024-09-15 14:28:52 - 代码库
  • 15:hdu 4737

                        http://acm.hdu.edu.cn/showproblem.php?pid=4737【题意】:给出a数组和m,求 f(i, j) = ai|ai+1|ai+2| ... | aj   ,f(i, j) < m的i j 对数     1 #includ

    https://www.u72.net/daima/e1mu.html - 2024-07-28 17:23:19 - 代码库
  • 16:hdoj 2212 DFS 【

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

    https://www.u72.net/daima/nhrn1.html - 2024-08-02 20:45:34 - 代码库
  • 17:(题)蛇形矩阵

                        1160 蛇形矩阵 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 白银 Silver  题目描述 Description小明玩一个数字游戏,取个n行n列数字矩阵(其中n为不超

    https://www.u72.net/daima/ncc3a.html - 2024-08-08 03:48:40 - 代码库
  • 18:Reconnaissance 2(题)

                        Reconnaissance 2Crawling in process...Crawling failedTime Limit:2000MS    Memory Limit:262144KB     64bit IO Format:%I64d & %I64u SubmitStat

    https://www.u72.net/daima/nze2z.html - 2024-08-02 07:17:32 - 代码库
  • 19:一发

                         好久没些技术日志,今天水一发好了   遇到的问题是这样的:   之前传参的时候,即使传的是中文也没什么问题出现,但今天不经意传了下,发现竟然会乱码,吓了一

    https://www.u72.net/daima/nfbc9.html - 2024-08-07 00:41:13 - 代码库
  • 20:BZOJ1968: [Ahoi2005]COMMON 约数研究(数论 题)

    Sample Input3Sample Output5Solve:数论<em>水</em>题

    https://www.u72.net/daima/88nc.html - 2024-09-12 12:31:18 - 代码库