E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Problemset
[CodeForces - 768B] Code For 1
链接:http://codeforces.com/
problemset
/problem/768/BProblemdescriptionJonfoughtbravelytorescuethewildlingswhowereattackedbythewhite-walkersatHardhome.Onhisarrival
carrot_iw
·
2020-09-11 14:54
数据结构
Codeforces 878A - Short Program(位运算)
原题链接:http://codeforces.com/
problemset
/problem/878/A题意:给出n个位运算操作,化简这些操作,使化简后的操作次数不多于5步。
bangpi1875
·
2020-09-11 14:56
codeforces 868C - Qualification Rounds(构造)
原题链接:http://codeforces.com/
problemset
/problem/868/C题意:有k个队伍参加比赛,比赛有n个预选的题目,有些队伍对已经事先知道了一些题目。
bangpi1875
·
2020-09-11 14:55
Codeforces 831C--Jury Marks (思维)
题目链接:http://codeforces.com/
problemset
/problem/831/C题意:有一位参赛选手,我们不知道他初始或最后的成绩,但是知道k次评审所加(减)的分数,以及n个在这过程中的他的分数
bangpi1875
·
2020-09-11 14:55
codeforces 819B - Mister B and PR Shifts(思维)
原题链接:http://codeforces.com/
problemset
/problem/819/B题意:把一个数列整体往右移k位(大于n位置的数移动到数列前端,循环滚动),定义该数列的“偏差值”:,
bangpi1875
·
2020-09-11 14:55
Codeforces 1197D Yet Another Subarray Problem(前缀和+暴力统计)
题目链接:http://codeforces.com/
problemset
/problem/1197/D题目大意:给出一列数组和两个常数m,k,然后定义一段子序列的cost等于该段子序列各元素之和减去该段长度与
arthor_2003146
·
2020-09-11 14:14
Codeforces 724B Batch Sort(暴力枚举)
题目链接:http://codeforces.com/
problemset
/problem/724/B题目大意:给你一个n*m的矩阵,每次可以交换每行的任意两个数或者交换任意两列(只有一次交换机会);最多有
JXR_12355
·
2020-09-11 13:44
ACM
C. Border(exgcd/裴蜀定理)
https://codeforces.com/
problemset
/problem/1010/C题意翻译NatashaNatasha抵达了火星.火星上的钞票面额有nn种,第ii种的价值是a_iai。
小菜鸡加油
·
2020-09-11 13:15
数论
exgcd
【CodeForces】【思维题】817 A Treasure Hunt
【题目】http://codeforces.com/
problemset
/problem/817/A【题意】一个人去找宝藏,已知他现在的坐标和宝藏的坐标,他有一种药水会让他瞬间移动,这个药水的值是(a,
swqeaaa
·
2020-09-11 12:02
思维题
CodeForces
CodeFroces 830A. Office Keys(二分)
http://codeforces.com/
problemset
/problem/830/A题目大意,给出n个人的位置给出k把钥匙位置,n个人要到某地拿到钥匙再去p上班。一把钥匙只能由一人拥有。
eIectron
·
2020-09-11 12:37
二分
————搜索————
B. Treasure Hunt(思维)
https://codeforces.com/
problemset
/problem/979/B题意翻译在一场盛大的生日派对后,Katie(以下简称Ka)仍然想和Shiro(以下简称S)去找更多的乐子。
小菜鸡加油
·
2020-09-11 12:53
思维
C. Restore Graph (类bfs模拟+构造)
https://codeforces.com/
problemset
/problem/404/C题意翻译对于n个顶点,我们对其进行加边操作!
小菜鸡加油
·
2020-09-11 12:53
构造
模拟
B. Ralph And His Magic Field(思维-奶牛翻块)
https://codeforces.com/
problemset
/problem/894/B题目描述Ralphhasamagicfieldwhichisdividedinton×mn×mblocks.Thatistosay
小菜鸡加油
·
2020-09-11 12:53
思维
组合数学
A. Voltage Keepsake(二分枚举)
https://codeforces.com/
problemset
/problem/772/A输入输出样例输入#1复制212221000输出#1复制2.0000000000输入#2复制110011输出#2
小菜鸡加油
·
2020-09-11 12:53
二分题型刷题总结
A. Office Keys(贪心+二分枚举)
https://codeforces.com/
problemset
/problem/830/A题意翻译在一条直线上有n人和k个钥匙。每个人都想到达位于线路上的办公室。
小菜鸡加油
·
2020-09-11 12:53
贪心
二分题型刷题总结
省赛后第四次
A题http://codeforces.com/
problemset
/problem/6/B水#include#include//#includeusingnamespacestd;//mapmp;intmain
脑袋困掉了.
·
2020-09-10 20:33
思路
含有需要注意的小细节
Codeforces - 466C - Number of Ways - 组合数学
https://codeforces.com/
problemset
/problem/466/C要把数据分为均等的非空的三组,那么每次确定第二个分割点的时候把(除此之外的)第一个分割点的数目加上就可以了。
weixin_30718391
·
2020-09-10 19:47
MIT 6.00.1X problem set
problemset
1(1)count=0num=0whilecount=len(substring):returnlongest_substringelse:returnsubstringforiinrange
earlene_wyl
·
2020-09-10 17:15
MIT
6.00.1.X
学习笔记
学习笔记
力扣 9. 回文数
题目来源:力扣https://leetcode-cn.com/
problemset
/all/classSolution:defisPalindrome(x):'''#使用字符串翻转x=str(x)ifx
sinat_41789374
·
2020-08-26 23:06
力扣算法题
《D o C P》学习笔记(3 - 0)Regular Expressions, other languages and interpreters - 简介
Lesson3视频链接:Lesson3-UdacityProblemSet3视频链接:
ProblemSet
3-UdacityOfficeHours3视频链接:OfficeHours3-Udacity参考文
HenryQWER
·
2020-08-26 13:13
软件工程
Design
of
Computer
Programs
学习
定义正则表达式的语言
解释语言
定义由正则表达式匹配的字符串集
其他语言
ACM学习网站汇总
http://www.cnblogs.com/zhourongqing/archive/2012/05/24/2516180.htmlhttp://61.187.179.132/JudgeOnline/
problemset
.php
housansan
·
2020-08-26 07:46
ACM
编程
list
ACM / ICPC 在线OJ(Online judge)
http://codeforces.com/
problemset
2.topcoder:http://www.topcoder.com/challenges/3.kattis这个网站有历年的ICPC真题https
git1314
·
2020-08-26 06:03
ACM
C/C++竞赛进阶
CodeForces - 1011C Fly【数学or二分】
题目链接:http://codeforces.com/
problemset
/problem/1011/C题目大意:有n个星球,顺序编号,1为出发点-地球,n为目的地-火星,现在要顺序登陆以及离开这n个星球
Gina_h
·
2020-08-25 15:45
ACM
CodeForces1010A Fly
题目传送门:http://codeforces.com/
problemset
/problem/1010/AoutputstandardoutputNatashaisgoingtoflyonarockettoMarsandreturntoEarth.Also
TAB_ball
·
2020-08-25 15:07
A. 24 Game
链接:https://codeforces.com/
problemset
/problem/468/ALittleXusedtoplayacardgamecalled"24Game",butrecentlyhehasfoundittooeasy.Soheinventedanewgame.Initiallyyouhaveasequenceofnintegers
龍木
·
2020-08-25 11:07
codeforces
ACM
数学
D Pashmak and Parmida‘s problem
https://codeforces.com/
problemset
/problem/459/DParmidaisaclevergirlandshewantstoparticipateinOlympiadsthisyear.Ofcourseshewantsherpartnertobeclevertoo
小菜鸡加油
·
2020-08-25 06:03
树状数组
数据结构
CF492E Vanya and Field
题目描述:http://codeforces.com/
problemset
/problem/492/E(英文题)翻译不写了大家都能看懂。看到这道题的第一想法是啥……?暴力模拟?
weixin_30918415
·
2020-08-25 05:53
codeforces 852A
原题链接:http://codeforces.com/
problemset
/problem/852/A大致题意:给出一个数字,一种操作:在数位之间插入加号进行加法运算得到的结果作为新的数字。
蒟蒻111
·
2020-08-25 04:28
CF
杂题
构造
158B_Taxi
原题链接:http://codeforces.com/
problemset
/problem/158/B分析:题意分析:有n组人,每组人个人只为4,3,2,1;没辆车最多载4个人,问最少用几辆车把人都装走
徵羽調_xiao賤
·
2020-08-25 04:07
codeforces
C. Colorful Bricks 组合数学
C.ColorfulBrickshttp://codeforces.com/
problemset
/problem/1081/Ctimelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputOnhisfreetime
ccsu_deer
·
2020-08-25 04:35
codeforce题解
Codeforces1009B Minimum Ternary String(模拟+思维) 题解
题目来源:http://codeforces.com/
problemset
/problem/1009/B题目描述:题目描述Youaregivenaternarystring(itisastringwhichconsistsonlyofcharacters
摇摇乐
·
2020-08-25 04:50
Codeforces
模拟
想法
【CodeForces】【水题】【暴力】935 A Fafa and his Company
【题目】http://codeforces.com/
problemset
/problem/935/A【题意】有n个人,现在要选几个leader,让其他人成为这个leader的下属,每个leader都要有相同数量的下属
swqeaaa
·
2020-08-25 03:39
暴力
水题
CodeForces
codeforces896A Nephren gives a riddle (dfs)
题目链接:http://codeforces.com/
problemset
/problem/896/A题意:给你一个数字n,代表f(n),然后给定数字k,在f(n)中查找第k个字符,如果k>f(n)的长度
TooSIMple_
·
2020-08-25 03:35
搜索
CodeForces
codeforces 991-D. Bishwock(模拟)
http://codeforces.com/
problemset
/problem/991/D解题思路:对各种情况简单归类模拟一遍即可。
FZH_SYU
·
2020-08-25 03:44
ACM
codeforces
codeforces 259-B. Little Elephant and Magic Square(数学)
http://codeforces.com/
problemset
/problem/259/B九宫格里正中间的数等于任意旁边每一对数之和的一半。
FZH_SYU
·
2020-08-25 03:43
ACM
codeforces
CodeForces 220B Little Elephant and Array 莫队算法
题目:http://codeforces.com/
problemset
/problem/220/B题意:给定一个数组,每次询问一个区间[l,r],问这个区间内元素出现个数等于元素本身的出现了几次思路:莫队算法很容易搞定
霜刃未曾试
·
2020-08-25 03:30
莫队算法
力扣链表+简单递归
链表算法https://leetcode-cn.com/
problemset
/all/?
ddm2865
·
2020-08-25 03:12
CodeForces 719B. Anatoly and Cockroaches
传送门:http://codeforces.com/
problemset
/problem/719/B题目大意:给你一个由'r','b'组成的字符串,你可以进行两种操作:(1)把任意两个位置的字母互换;(
无码萌妹码代码
·
2020-08-25 02:27
another
oj
codeforces 解题报告 1009B. Minimum Ternary String Greedy
http://codeforces.com/
problemset
/problem/1009/B解题思路:1.贪心令0尽量左移,2尽量右移。由于2不能越过其右边的0,所以我以2,0作为分界分组。
三生锁链
·
2020-08-25 02:19
codeforces
JAVA
CodeForces 321A Ciel and Robot
题目链接:http://codeforces.com/
problemset
/problem/321/ACielandRobottimelimitpertest:1secondmemorylimitpertest
Silenceneo
·
2020-08-25 02:09
数学
codeforces
简单数学
CF - 158B - Taxi
题目链接:http://codeforces.com/
problemset
/problem/158/B——>>贪心,读入时统计各团人数,4人的肯定要一车;3人的也肯定要一车,且能加1人就多加1人;2人的两两一车
jchalex
·
2020-08-25 02:03
贪心
CodeForces 321A Ciel and Robot(数学模拟)
题目链接:http://codeforces.com/
problemset
/problem/321/A题意:在一个二维平面中,开始时在(0,0)点,目标点是(a,b),问能不能通过重复操作题目中的指令,
lyhvoyage
·
2020-08-25 02:29
数学题
数论
比赛题
Codeforces 741A:Arpa's loud Owf and Mehrdad's evil plan(LCM+思维)
http://codeforces.com/
problemset
/problem/741/A题意:有N个人,第i个人有一个a[i],意味着第i个人可以打电话给第a[i]个人,所以如果第i个人打电话出去,
weixin_30739595
·
2020-08-25 02:44
codeforces ~ 1009 B Minimum Ternary String(超级恶心的思维题
http://codeforces.com/
problemset
/problem/1009/BB.MinimumTernaryStringtimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputYouaregivenaternarystring
weixin_30686845
·
2020-08-25 02:43
A. Add Odd or Subtract Even(思维题) Codeforces Round #624 (Div. 3)
原题链接:http://codeforces.com/
problemset
/problem/1311/A题意:给你一个整数a,能够进行两种操作,问进行多少次操作后能变成整数b。
叶的一生
·
2020-08-25 01:04
#
CF
思维
A. Fafa and his Company(思维题)Codeforces Round #465 (Div. 2)
原题链接:http://codeforces.com/
problemset
/problem/935/A题意:有n个员工,从中选取i个领导人,要求每个领导人带的员工是相同的,且领导人带的员工数目不能为0。
叶的一生
·
2020-08-25 01:04
#
CF
思维
算法
CF1399C Boats Competition
原文链接:http://codeforces.com/
problemset
/problem/1399/CBoatsCompetitionTherearenpeoplewhowanttoparticipateinaboatcompetition.Theweightofthei-thparticipantiswi.Onlyteamsconsistingoftwopeoplecanparticipate
ShadyPi
·
2020-08-25 01:11
杂============
算法题库leetcode多加练习
多加练习:https://leetcode-cn.com/
problemset
/all/https://blog.csdn.net/notOnlyRush/article/details/79996933https
淡然开怀
·
2020-08-25 01:01
笔记
hihocoder#1055 : 刷油漆 算法详解以及java源码实现
原题地址详见:http://hihocoder.com/
problemset
/problem/1055?
tingting256
·
2020-08-25 01:23
算法
几道dp
http://codeforces.com/
problemset
/problem/553/A题意:一串球,每种颜色的球有ci个,并且根据安排,前一种颜色的最后一个球需要放在后一种球最后一个前面,求方案数
yyPurpose_forever
·
2020-08-24 22:41
动态规划
上一页
3
4
5
6
7
8
9
10
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他