摘要:
上海市计算机学会竞赛平台2023年6月月赛丙组题目解题报告 T1-差分求和 题目描述 给定一个整数序列,对其中任意两个数,计算后项减前项的差,输出这些差的差。 例如对于 a 1 , a 2 , a 3 , a 4 a_1,a_2,a_3,a_4 a1,a2,a3,a4 来说,输出 ( a 2 阅读全文
摘要:
D - Peaceful Teams Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400 points Problem Statement There are N N N sports players.Among them, there are 阅读全文
摘要:
AtCoder Beginner Contest 309 E题 E - Family and Insurance Problem Statement There is a family consisting of person 1 1 1, person 2 2 2, … … … , and per 阅读全文
摘要:
2023.7.1ATcoder308(Beginner)E题 E - MEX Problem Statement You are given a length- N N N sequence A = ( A 1 , A 2 , … , A N ) A=(A_1,A_2,…,A_N) A=(A1 阅读全文
摘要:
T1 卡片游戏 题目描述 小爱拿到了n张卡片,每张卡片的正反面均写有一个数字,其中第ii张卡片的正面的数字为 a i a_i ai,反面的数字为 b i b_i bi。 他想把每张卡片选取合适的一面后,放入下列算式中,卡片之间顺序可以交换,但每张卡片只能用一次。 请问,小爱通过以上操作,能得到的 阅读全文
摘要:
USACO 2023 February Contest, Bronze 比赛链接 1 Hungry Cow Bessie is a hungry cow. Each day, for dinner, if there is a haybale in the barn, she will eat on 阅读全文
摘要:
2 Cow-libi Note: The time limit for this problem is 4s, two times the default. Somebody has been grazing in Farmer John’s (1≤G≤105) private gardens! U 阅读全文