码迷,mamicode.com
首页 >  
搜索关键字:poj 1584 a round peg    ( 35776个结果
2020 BIT冬训-模拟与暴力 D - Crashing Robots POJ - 2632
Problem Description In a modernized warehouse, robots are used to fetch the goods. Careful planning is needed to ensure that the robots reach their de ...
分类:其他好文   时间:2021-02-05 10:47:53    阅读次数:0
C# 简单粗暴的毫秒转换成 分秒的格式
C# 简单粗暴的毫秒转换成 分秒的格式 1:code(网络上很多都是错误的,或者存在bug,只好自己写一个了) 1 public static string RevertToTime(double milliSeconds)//毫秒 2 { 3 double getsecond = milliSec ...
分类:Windows程序   时间:2021-02-05 10:42:54    阅读次数:0
钉钉第二种,加签发消息
import timeimport hmacimport hashlibimport base64import urllib.parsedef get_sign(): timestamp = str(round(time.time() * 1000)) secret = 'SEC6b56772f91 ...
分类:其他好文   时间:2021-02-03 10:57:36    阅读次数:0
WPF 颜色选择器
System.Windows.Forms.ColorDialog colorDialog = new System.Windows.Forms.ColorDialog(); //允许使用该对话框的自定义颜色 colorDialog.AllowFullOpen = true; colorDialog. ...
分类:Windows程序   时间:2021-02-03 10:32:12    阅读次数:0
Sky Code POJ - 3904
原题链接 考察:容斥原理 错误思路: 枚举预处理每一个数C4n 的组合数,将p数组的每一个数求约数集合,将约数个数>=4的纳入容斥的集合内.再用容斥计数解决. 时间复杂度是10000*100*2出现次数>=4的约数个数 ,前面的时间复杂度已经到了1e6,如果个数>7就已经有超时风险,更不要说总共10 ...
分类:其他好文   时间:2021-02-01 12:59:29    阅读次数:0
Codeforces Round #698 (Div. 2)补题
C C. Nezzar and Symmetric Array 题意 原来有2n个数,各不相同,这2n个数中,每个数的相反数也在其中。 Nezzar在100万年前计算出了 每个数与其他数的差值 的和,但忘掉了原来那2n个数。 问从这2n个计算出来的差值和能不能推出一个满足条件的2*n个数。 思路 发 ...
分类:其他好文   时间:2021-02-01 12:34:47    阅读次数:0
Educational Codeforces Round 103 (Rated for Div. 2) E Pattern Matching
E. Pattern Matching 题目链接:https://codeforces.com/contest/1476/problem/E 题目大意:给你n个模式串和m个字符串(长度都为k),要求你将模式串进行排序使得每个字符串在排序后的模式串中第一个匹配的是未排序前的模式串中第mt个模式串。对于 ...
分类:其他好文   时间:2021-02-01 11:51:02    阅读次数:0
F. Nezzar and Nice Beatmap - Codeforces Round #698 (Div. 2)
#F. Nezzar and Nice Beatmap ##https://codeforces.com/contest/1478/problem/F ##题解 要保证每三个点构成的三角形为锐角三角形的最优情况,我们知道锐角三角形中锐角相邻的两条边长度的平方和大于相对的边的平方,由题意可以得出中间点 ...
分类:其他好文   时间:2021-01-30 11:50:37    阅读次数:0
Codeforces Round #697 (Div. 3)(A->C)
A:http://codeforces.com/contest/1475/problem/A 题意: 判断n是否有>1的奇数因子 解析: 不断比2即可。 #include<iostream> #include<algorithm> #include<cstdio> #include<cstring> ...
分类:其他好文   时间:2021-01-28 12:21:27    阅读次数:0
Codeforces Round #696 (Div. 2) 2021-01-19
https://codeforces.com/contest/1474 A√ 题意:现有两个长度为n的0,1字符串a,b(其中仅包含0,1),对两个字符串相加得到字符串c(按数值不进位相加);例如:a=“011011”;b=“101101”;则c=“112112”;之后将c中的连续重复数字替换为一位 ...
分类:其他好文   时间:2021-01-28 12:11:49    阅读次数:0
35776条   上一页 1 ... 18 19 20 21 22 ... 3578 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!