
模拟
文章平均质量分 79
ThisIsSonic
守得云开见月明
展开
-
Persistence(模拟)
Persistence(模拟)时间限制:1Sec内存限制:128 MB题目描述Consider the series of numbers where each term is the product of the decimal digits ofthe previous term. Eventually the term will be reduced to a single digit.For example start with 679:The numbe...原创 2021-05-21 15:47:56 · 163 阅读 · 0 评论 -
Error Correction(模拟)
Error Correction(模拟)题目描述A boolean matrix has the parity property when each row and each column has an even sum, i.e. containsan even number of bits which are set. Here’s a 4 × 4 matrix which has the parity property:1 0 1 00 0 0 01 1 1 10 1 0 1The.原创 2021-05-19 10:06:43 · 294 阅读 · 0 评论 -
Strategy Game(模拟)
Strategy Game(模拟)题目描述A strategy game with J players is played around a table. Players are identified by numbers from 1 toJ and will play a total of R rounds.At each round each player will play once, in the order of their identifiers; that is, player .原创 2021-05-19 09:59:50 · 338 阅读 · 1 评论 -
Memory Overflow(队列+模拟)
Memory Overflow(队列+模拟)题目描述The Great Sultan Mahbub is having some serious issues with his memory. His busy days filled withgreat works and surrounded by even greater people have brought him to a situation where he hasbecome quite forgetful. For example..原创 2021-05-19 09:55:04 · 270 阅读 · 2 评论 -
足球联赛(模拟)
足球联赛(模拟)题目描述小明热爱足球,也热爱家乡球队1队。新的一年足球联赛又开始了,共n个球队,进行双循环比赛。双循环比赛是指每个球队与其他n-1只队伍分别踢两场正式比赛,就是主场和客场比赛。如下图,在n=3的情况下,表示3只球队,共6场比赛。第i行有n-1场比赛,表示球队i所踢的n-1场主场比赛。第i列就是队i的n-1场客场比赛。上表中第一行表示队1在主场4:3战胜了队2,在与队3的对比赛中1:2不敌对手;而客场比赛与队2战成0:0平,又以2:1战胜了队3。根据足球联赛的得分规则,以双方进球多原创 2021-05-19 09:47:35 · 923 阅读 · 0 评论