http://codeforces.com/problemset/problem/807/A A. Is it rated? time limit per test 2 seconds memory limit per test 256 megabytes input standard input
原创
2021-08-05 10:00:20
148阅读
【题目链接】:http://codeforces.com/contest/807/problem/A【题意】 给你n个人在一场CF前后的rating值; 问你这场比赛是不是计分的 【题解】 如果有一个人的rating变了; 则是计分的; 否则; 按照题目所给的规则判断是maybe...
转载
2017-10-04 18:44:00
74阅读
2评论
输入两个整数 l 和 r,请你编写一个函数,int sum(int l, int r),计算并输出区间 [l,r] 内所有整数的和
原创
2022-11-12 07:24:40
87阅读
描述 判断一个非负整数 n 的二进制表示是否为回文数 我们保证 0 ⇐ n ⇐ 2^32 - 1 样例 样例1 输入: n = 0 输出: True 解释: 0 的二进制表示为:0。 样例2 输入: n = 3 输出: True 解释: 3 的二进制表示为:11。 样例3 输入: n = 4 输出:
转载
2021-04-08 21:42:00
111阅读
2评论
http://codeforces.com/problemset/problem/807/C C. Success Rate time limit per test 2 seconds memory limit per test 256 megabytes input
原创
2021-08-05 10:48:58
161阅读
【题目链接】:http://codeforces.com/contest/807/problem/C【题意】 给你4个数字 x y p q 要求让你求最小的非负整数b; 使得 (x+a)/(y+b)==p/q 同时a为一个整数且0using namespace std;#defin...
转载
2017-10-04 18:44:00
74阅读
2评论
B. T-Shirt Hunt http://codeforces.com/problemset/problem/807/B time limit per test 2 seconds memory limit per test 256 megabytes input standard input
原创
2021-08-05 10:49:04
68阅读
【题目链接】:http://codeforces.com/contest/807/problem/D【题意】 给出n个人的比赛信息; 5道题 每道题,或是没被解决->用-1表示; 或者给出解题的所用的时间; (每道题的分数与解决率有关,越高,分越低); 然后有个人想利用这个特点,注...
转载
2017-10-04 18:44:00
57阅读
2评论
In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any n
转载
2018-09-25 16:52:00
76阅读
2评论
/*problom descriptionIn a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings, by any am...
原创
2022-02-03 11:35:50
29阅读
In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings, by any amount (the amounts can
原创
2022-08-03 17:07:14
75阅读
/*problom descriptionIn a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings, by any am...
原创
2021-07-09 14:11:53
93阅读
在二维数组grid中,grid[i][j]代表位于某处的建筑物的高度。 我们被允许增加任何数量(不同建筑物的数量可能不同)的建筑物的高度。 高度 0 也被认为是建筑物。 最后,从新数组的所有四个方向(即顶部,底部,左侧和右侧)观看的“天际线”必须与原始数组的天际线相同。 城市的天际线是从远处观看时,
转载
2020-09-24 12:35:00
165阅读
2评论
【题目链接】:http://codeforces.com/contest/807/problem/B【题意】 你在另外一场已经结束的比赛中有一个排名p; 然后你现在在进行另外一场比赛 然后你当前有一个分数x; 以及另外一个分数y,表示如果要拿第一需要的分数; 你可以通过hack使得...
转载
2017-10-04 18:44:00
102阅读
2评论
1Z1-807是ciscodk.com刚更新的科目,具体信息如下:
1Z1-807 Java Enterprise Edition 6 Enterprise Architect Certified Master Exam (Step 1 of 3)
想知更多新科目就在ciscodk .com
原创
2012-12-14 10:40:23
349阅读
A思路:排序之后,就将数据分割成前n和后n就行,12345678->56781234这样一一对应相差值最大/**/#include <bits/stdc++.h>#define rep(i, a, b) for(int i = a; i <= b; i ++)#define endl '\n'using namespace std;const int N = 500 + 5
原创
2022-07-16 15:21:38
23阅读
每日英文
If you are ever in trouble, don't try to be brave, just run, just run away.
你若遇上麻烦,不要逞强,你就跑,远远地跑开。
每日掏心话
生活在这个世上,很多人喜欢站在自己的视角,以为很了解别人,自以为是的随便谴责批判别人,以为全世界就自己是对的。
转载
2021-08-19 14:33:43
410阅读
1、重启路由器。2、禁用再启用隧道设置列表。
转载
精选
2013-09-03 20:42:54
1135阅读
...
原创
2021-07-09 17:06:59
225阅读
DescriptionNot so long ago the Codecraft-17 contest was held o
原创
2023-02-04 10:54:47
66阅读