
算法刷题/比赛
文章平均质量分 85
<Running Snail>
奇点将至
展开
-
RecSys Challenge 历年推荐赛题汇总
RecSys是ACM主办的推荐系统旗舰会议,其征文范畴包含推荐系统的各个领域,包括算法设计、系统实现、理论推导和评估测试等每年RecSys都会举办推荐系统相关的比赛,本文将对历史RecSys比赛进行汇总。RecSys 2010 Challengehttp://2010.recsyschallenge.com/比赛名称:Challenge on Context-aware Movie Recommendation比赛任务:The Challenge on Context-aware Movie Re原创 2022-02-23 17:35:23 · 926 阅读 · 0 评论 -
Codeforces Round #723 (Div. 2)
A. Mean Inequalitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array aaa of 2n2n2n distinct integers. You want to arrange the elements of the array in a circle such that no eleme原创 2021-11-26 20:52:14 · 224 阅读 · 0 评论 -
Codeforces Round #728 (Div. 2)
文章目录A. Pretty PermutationsB. Pleasant PairsC. Great GraphsA. Pretty PermutationsThere are nnn cats in a line, labeled from 111 to nnn, with the iii-th cat at position iii. They are bored of gyrating in the same spot all day, so they want to reorder thems原创 2021-10-15 22:07:55 · 280 阅读 · 0 评论 -
Tutorial of Codeforces Round 729 (Div.2)
文章目录A题目C++代码B题目分析C++代码C题目C++代码A题目Exampleinput522 3 4 532 3 4 5 5 512 412 341 5 3 2 6 7 3 4outputYesNoNoYesNoNoteIn the first test case, a possible way of splitting the set is (2,3), (4,5).In the second, third and fifth test case,原创 2021-10-08 22:20:09 · 369 阅读 · 0 评论 -
牛客 —— 湖南大学第十六届程序设计竞赛(重现赛)
题目描述There are 3 kinds ofTriangles: acute triangles, right triangles and obtuse triangles.A triangle with an obtuse angle (the obtuse angle is greater than 90 degrees and less than 180 degrees) is an obtuse triangle (obviously only one angle can be obtuse原创 2021-07-15 21:39:17 · 629 阅读 · 1 评论 -
【题解】(图论) —— POJ 0719:拓扑排序
题目链接:OpenJudge - 0719:拓扑排序总时间限制: 10000ms 内存限制: 1000kB描述给出一个图的结构,输出其拓扑排序序列,要求在同等条件下,编号小的顶点在前输入若干行整数,第一行有2个数,分别为顶点数v和弧数a,接下来有a行,每一行有2个数,分别是该条弧所关联的两个顶点编号输出若干个空格隔开的顶点构成的序列(用小写字母)样例输入6 81 21 31 43 23 54 56 46 5样例输出.v1 v3 v2 v6 v4 v5分析一道模板题,原创 2021-04-20 18:36:49 · 1194 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 I题Pegasus Circle Shortcut
题目描述For the UCF High School Programming Tournament, the judges were located in the Engineering building, and most of the teams were in the Classroom building, which is on the other side of Pegasus Circle.Chris was walking to the Classroom building for th原创 2021-03-14 21:58:57 · 304 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 G题Plate Spinning
文章目录题目描述输入描述:输出描述:输入输出AC的C++代码题目描述Plate spinning is a circus act where a person spins various objects(usually plates and bowls) on poles without them falling off. It involves spinning an object and then returning back to the object.原创 2021-03-14 21:54:54 · 296 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 E题NIH Budget
文章目录题目描述输入描述:输出描述:示例1题目描述Recently, a job for an algorithms specialist opened up at NIH. You never thought you’d be using your expertise in algorithms to save lives, but now, here is your chance! While the doctors are very good in carrying out medical re.原创 2021-03-14 21:49:18 · 399 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 D题Soccer Standings
文章目录题目描述输入描述:输出描述:输入输出题目描述Soccer fever has gripped the world once again, and millions of people from dozens of countrieswill be glued to their TV sets for the World Cup. Being an enterprising sort, you’ve started up your own internet World Cup Soccer .原创 2021-03-14 21:30:38 · 470 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 C题Tip to be Palindrome
题目描述One of the cool UCF CS alumni is Dr. Greg, The Palindrome Tipper. A palindrome is a stringthat reads the same forward and backward, e.g., madam, abba, 3, 44, 525.One cool thing about Dr. Greg is that he leaves at least 20% tip when he eats out, e..原创 2021-03-14 21:16:09 · 186 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 B题
文章目录题目描述输入描述:输出描述:输入输出AC的C++代码:题目描述According to the national statistics, a teenager sends/receives 100+ text messages a day. Dr. Orooji’s teenage children are no exception but the problem is Dr. O (an old-fashioned, face-to- face communicator) has diffi.原创 2021-03-14 21:11:53 · 880 阅读 · 0 评论 -
牛客 2021年度训练联盟热身训练赛第二场 A题
题目描述Professor Boolando can only think in binary, or more specifically, in powers of 2. He converts any number you give him to the smallest power of 2 that is equal to or greater than your number. For example, if you give him 5, he converts it to 8; if yo.原创 2021-03-14 21:02:43 · 387 阅读 · 0 评论