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

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

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

  • 1:ZOJ 3819 Average Score(数学题 牡丹江)

                        题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5373Bob is a freshman in Marjar University. He is clever and diligent.

    https://www.u72.net/daima/8687.html - 2024-07-26 19:59:31 - 代码库
  • 2:ZOJ 3827 Information Entropy (2014牡丹江区域赛)

                        题目链接:ZOJ 3827 Information Entropy根据题目的公式算吧,那个极限是0AC代码:#include <stdio.h>#include <string.h>#include <math.h>const doub

    https://www.u72.net/daima/86nw.html - 2024-07-26 19:10:43 - 代码库
  • 3:ZOJ 3813 Alternating Sum (牡丹江网络赛E题)

                        ZOJ 3813 Alternating Sum题目链接赛后补题中,这题真心恶心爆了先推下公式,发现是隔一个位置,长度从最长每次减2,这样累加起来的和,然后就可以利用线段树维

    https://www.u72.net/daima/4nk2.html - 2024-07-21 21:07:58 - 代码库
  • 4:ZOJ 3817 Chinese Knot(牡丹江网络赛I题)

                        ZOJ 3817 Chinese Knot题目链接思路:万万没想到这题直接hash+暴力剪枝就可以了,把4个串正逆都hash出来,然后每次枚举起点去dfs记录下路径即可,剪枝为如

    https://www.u72.net/daima/4d5x.html - 2024-07-22 01:13:38 - 代码库
  • 5:ZOJ 3814 Sawtooth Puzzle(牡丹江网络赛F题)

                        ZOJ 3814 Sawtooth Puzzle题目链接记录状态广搜,把9个拼图都压缩成一个状态,然后去搜索,就是模拟的过程比较麻烦代码:#include <cstdio>#include <cstring

    https://www.u72.net/daima/4hf1.html - 2024-07-21 23:05:51 - 代码库
  • 6:2014牡丹江区域赛K(贪心)ZOJ3829

                        Known NotationTime Limit: 2 Seconds      Memory Limit: 131072 KBDo you know reverse Polish notation (RPN)? It is a known notation in the are

    https://www.u72.net/daima/88vk.html - 2024-07-26 21:29:01 - 代码库
  • 7:ZOJ3822 Domination(14牡丹江 D) 概率DP

                        题意:给你一个N×M的棋盘,每一次随机在这里放一个子(不能重复)问你最后每一行每一列只要有一个子的期望次数解题思路:dp[i][j][s] 已经用 i 个子 占了

    https://www.u72.net/daima/edvz.html - 2024-07-28 06:53:38 - 代码库
  • 8:zoj 3822 Domination(2014牡丹江区域赛D题)

                        DominationTime Limit: 8 Seconds      Memory Limit: 131072 KB      Special JudgeEdward is the headmaster of Marjar University. He is enthusia

    https://www.u72.net/daima/86zu.html - 2024-07-26 19:12:31 - 代码库
  • 9:ZOJ 3812 We Need Medicine(牡丹江网络赛D题)

                        ZOJ 3812 We Need Medicine题目链接思路:dp[i][j][k]表示第i个物品,组成两个值为j和k的状态,这样会爆掉,所以状态需要转化一下首先利用滚动数组,可以

    https://www.u72.net/daima/4kxa.html - 2024-07-22 00:10:26 - 代码库
  • 10:zoj 3809 水 2014 ACM牡丹江区域赛网赛

                        http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5341第一题水题,水下//#pragma comment(linker, "/STACK:102400000,102400000")#includ

    https://www.u72.net/daima/3ee4.html - 2024-07-21 18:59:24 - 代码库
  • 11:zoj 3817 2014牡丹江网赛 字符串哈希

                        http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5349比赛的时候没看这道题,遗憾,不过想到算法不难,但是写代码比较考代码能力,我自己写了两

    https://www.u72.net/daima/4rvz.html - 2024-07-22 04:32:59 - 代码库
  • 12:网络赛牡丹江赛区E ZOJ3813(线段树)

                        http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5345给定序列P,定义序列S为P反复重复得到的一个无穷长的序列:      if P = 3423537, then

    https://www.u72.net/daima/375x.html - 2024-07-21 15:53:56 - 代码库
  • 13:【瞎搞】ZOJ 3818 Pretty Poem 牡丹江网络赛J题

                        第一种情况:ABABA。 先判断开头的A与结尾的A,得到A的长度,接着判断ABAB 中的AB与AB是否相同(ABAB的长度一定为偶数)已经知道了A长度,AB的长度 接着判断下A

    https://www.u72.net/daima/34en.html - 2024-07-21 13:17:00 - 代码库
  • 14:弱渣的牡丹江现场赛之旅流水账

                                下午就要坐卧铺赶回北京了,闲来无事,写个总结,给以后的自己看。        由于孔神要保研面试,所以只有我们队里三个人上路。我们是周五坐的十二点出

    https://www.u72.net/daima/89n4.html - 2024-07-26 22:07:57 - 代码库
  • 15:2014牡丹江区域赛H(字典树)ZOJ3826

                        Hierarchical NotationTime Limit: 2 Seconds      Memory Limit: 131072 KBIn Marjar University, students in College of Computer Science will le

    https://www.u72.net/daima/88vd.html - 2024-07-26 21:29:08 - 代码库
  • 16:2014牡丹江区域赛D(概率DP)ZOJ3822

                        DominationTime Limit: 8 Seconds      Memory Limit: 131072 KB      Special JudgeEdward is the headmaster of Marjar University. He is enthusia

    https://www.u72.net/daima/88vs.html - 2024-07-26 21:29:25 - 代码库
  • 17:14牡丹江现场赛K zoj3829 Known Notation

                        Known NotationTime Limit: 2 Seconds      Memory Limit: 65536 KBDo you know reverse Polish notation (RPN)? It is a known notation in the area

    https://www.u72.net/daima/8670.html - 2024-07-26 19:56:24 - 代码库
  • 18:ZOJ 3820 2014ACM/ICPC牡丹江赛区B题

                        3797714 2014 - 10 - 12 21:58 : 19Accepted 3820 C++1350 70240zz_1215比较麻烦的一道题吧,开始的时候不停的段异常,后面知道是爆栈了,然后用数

    https://www.u72.net/daima/87bd.html - 2024-07-26 20:22:35 - 代码库
  • 19:zoj 3822 Domination 概率dp 2014牡丹江站D题

                        DominationTime Limit: 8 Seconds      Memory Limit: 131072 KB      Special JudgeEdward is the headmaster of Marjar University. He is enthusia

    https://www.u72.net/daima/8mw9.html - 2024-07-27 00:27:29 - 代码库
  • 20:zoj 3827 Information Entropy(2014牡丹江区域赛I题)

                        Information EntropyTime Limit: 2 Seconds      Memory Limit: 65536 KB      Special JudgeInformation Theory is one of the most popular courses

    https://www.u72.net/daima/86zc.html - 2024-07-26 19:12:18 - 代码库