Rikkar
Rikkar
全部文章
分类
1024程序员节(1)
C++(3)
codeforces(5)
dp(3)
game(1)
git(1)
java(4)
javaweb(2)
math(14)
maven(2)
mysql(1)
VS(2)
二分(5)
区域赛(1)
图(2)
思维(30)
数据结构(2)
新手入门(1)
暴力(3)
未归档(6)
板子(7)
构造(2)
模拟(3)
比赛(1)
笔记(1)
算法(27)
蓝桥杯(20)
规律(1)
贪心(1)
资料(1)
面试题集(1)
项目(1)
题解(44)
归档
标签
去牛客网
登录
/
注册
Rikkar的博客
全部文章
(共199篇)
TOYS POJ - 2318(叉乘+二分)
TOYS Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 23275 Accepted: 10747 Description Calculate the number of toys that land in each bin ...
2021-12-18
0
505
Intersecting Lines POJ - 1269
Intersecting Lines Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 22767 Accepted: 9502 Description We all know that a pair of distinct ...
2021-12-18
0
461
Treasure Hunt Poj1066(线段相交)
Treasure Hunt Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9557 Accepted: 3914 Description Archeologists from the Antiquities and Curio...
2021-12-18
0
406
1451C - String Equality
传送门 题意:给出两个字符串a,b,用以下操作:<1>可以交换任意两个相邻字符的位置。<2>可以将连续的K个字符加1,如k=3,则bbbaa,可变为cccaa。最后能将a变为b。 思路: 对于第一个操作的运用:看到可以交换任意两个相邻字符位置,其实等同于可以给所有字符重新...
2021-12-18
0
370
1098A - Sum in the tree(贪心、树)
A. Sum in the tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Mitya has a rooted t...
2021-12-18
0
554
C - Bouncing Ball
C - Bouncing Ball C. Bouncing Ball time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Yo...
2021-12-18
0
401
1455B Jumps(思维、规律)
B. Jumps time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are standing on the OX -axi...
2021-12-18
0
379
1455D Sequence and Swaps(思维)
D. Sequence and Swaps time limit per test 1.5 seconds memory limit per test 512 megabytes input standard input output standard output You are given a...
2021-12-18
0
453
1283C - Friends and Gifts(思维)
传送门 思路:开两个数组,分别保存没送出礼物的人和没收到礼物的人。然后遍历两个数组,发现两个数组元素有相等的地方则与下一个交换,注意边界当最后一个相同则和开始的元素交换。 Code: #include<iostream> #include<string> #includ...
2021-12-18
0
484
1453B Suffix Operations(思维)
题目 题意:我们对于一个n个整数的数组a,可以进行两种操作: 1.对于它的任意长度后缀全体增加1. 2.对于它的任意长度后缀全体减少1. 并且我们还拥有一次改变数组a中一个整数变为任意整数的机会,但也可以不改变。求我们进行操作使数组每个整数相等的最小操作数。 思路:当我们还没使用改变数组中的整数...
2021-12-18
0
419
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页