传送门题目大意两个人从集合中取数,任意取出两个不同的数,集合中不能包含取出数的 |x-y|,如果谁取出的两个
原创 2022-07-15 10:43:55
76阅读
转载 2020-11-24 12:41:00
43阅读
2评论
What is the impact of the results of the output of the following command?RMAN> report unrecoverable database;Report of files that need backup due to u
转载 2017-11-10 18:05:00
42阅读
2评论
IBM x346更换raid卡
原创 2013-02-21 22:25:02
9315阅读
题目 题目链接:https://codeforces.com/contest/346/problem/E 有一个长度为$n$的数列。 数列的第$x$项为$a\times x\bmod p$。 问将该数列排序后任意相邻两项之差的最大值是否$\le h$。 多组询问,询问次数$t$满足$1\le t\l
转载 2021-01-22 20:28:00
47阅读
2评论
前三题水 A B C 几何(叉积) D - Bicycle Race 题意:一个人从最下面的位置逆时针沿着湖转一圈,当转角指向湖的方向认为是危险的,问有多少个危险的转角. 分析:分类讨论也就四种情况,但是注意出发点不一定是最左边的(最下面的);也可以用叉积来判断,大于0表示是顺时针满足危险的定义.
转载 2016-04-05 08:15:00
53阅读
2评论
我们有一个OA系统,系统是linux的,现在oa存放附件的/usr/分区空间不足了,导致oa系统运行很不正常,现需要增加硬盘来解决这个问题。 oa硬件软件环境情况: 服务器:IBM x346 阵列卡:serveRaid 7k 硬盘:2*73.4G SCSI硬盘 ,10k rpm,通过阵列卡做的raid0,总容量140G 操作系统:RedFlag DC 4.1 中间件:东方通的TongW
原创 2011-10-15 11:42:15
1174阅读
​​题目传送门​​一、做法初始时先将每一个点看成一个大小为\(1\)的连通块,这个连通块就可以看成一个完全图(因为只有一个点)做\(Kruskal\)算法,在每循环到一条可以合并两个连通块的边\(e\)时,记\(e\)的边长为\(w\),为了形成一个完全图,就要使得两个已经是完全图的连通块中的点有边,但是为了使最后的唯一最小生成树还是原来那棵而且,新增的边一定要大于\(w\):假设新边小于\(w\
原创 2022-03-28 11:17:16
50阅读
code346.jsp<%@page import="java.util.Enumeration"%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
原创 2022-03-03 14:26:23
36阅读
并查集,计数,贪心
原创 2022-10-25 11:12:55
59阅读
源程序: #include <iostream>#include <string>using namespace std;template<class T>class TBase{ T data1;public: void print() { cout << "TBase::" << data1 <
原创 2022-06-08 10:53:44
24阅读
解题报告:这题一开始没看懂,其实意思挺简单的,当然是看了题解以后 还挺容易的,主要是让你把一个树形图,变成一个完全图,(完全图就是边长数量=(n*(n-1)/2)n为点数),同时满足之前的那棵树还是唯一的最小生成树,通过图我们可以发现,在合并两个集合的时候,如果枚举的边小于等于该条边的长度w,是不行的,不满足唯一生成树,这样我们每次只需要加上(pq-1)(w+1)就是正解了,pq分别代表两个集...
原创 2021-07-09 13:54:38
78阅读
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. For example,MovingAverage m = new Mo
转载 2017-01-03 06:49:00
161阅读
2评论
题目:​​http://codeforces.com/contest/659/problems​​​ A:#include <iostream>#include <string>using namespace std;int n, a, b;int main(){ while (cin >> n >> a >> b) {
原创 2023-03-04 10:40:01
65阅读
前两天公司一台IBM X346服务器,在半夜系统意外出错后,重启一直无法进入系统。同时通过测试安全模式也无法进入,在非安全模式下Windows系统在启动过程中出现蓝屏后自动重启服务器。以安全模式启动时,可进入到Windows正在应用计算机配,但之后也是报内存不可读的错误,无法开启。   经过检查服务器控制面板,未看到任何错误,同时服务器硬盘也未有警告故障。 后经过使用IBM Sup
原创 2010-12-31 11:02:25
1366阅读
A. Round House time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasya lives in a round bui
转载 2017-08-03 17:49:00
124阅读
A. Alice and Bobtime limit per test2 secondsmemory limit per test256 megabyteay, isn
原创 2013-09-27 23:29:04
15阅读
给定两个以升序排列的整形数组 nums1 和 nums2, 以及一个整数 k。定义一对值 (u,v),其中第
原创 2021-06-14 23:08:59
214阅读
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. Example: MovingAverage m = new Movin
转载 2020-08-04 01:32:00
195阅读
2评论
It is so boring in the...
转载 2020-02-18 01:12:00
128阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5