牛客
浩1001
这个作者很懒,什么都没留下…
展开
-
Wannafly挑战赛21 C大水题
原题:https://www.nowcoder.com/acm/contest/159/C 题目描述现在给你N个正整数ai,每个数给出一“好数程度” gi(数值相同但位置不同的数之间可能有不同的好数程度)。对于在 i 位置的数,如果有一在j位置的数满足 j < i 且 ai=aj,则你可以将位于[i,j]闭区间内的序列评为“好序列”,然后获得∑gk(j≤k≤i)(此闭区间内“好数...原创 2018-08-04 11:29:17 · 276 阅读 · 3 评论 -
2018 ACM 国际大学生程序设计竞赛上海大都会赛重现赛 A Fruit Ninja
原题:https://www.nowcoder.com/acm/contest/163/A题目描述Fruit Ninja is a juicy action game enjoyed by millions of players around the world, with squishy,splat and satisfying fruit carnage! Become the ul...原创 2018-08-05 21:11:50 · 289 阅读 · 0 评论 -
2018 ACM 国际大学生程序设计竞赛上海大都会赛重现赛 D-Thinking-Bear magic
链接:https://www.nowcoder.com/acm/contest/163/D来源:牛客网 题目描述In order to become a magical girl, Thinking-Bear are learning magic circle.He first drew a regular polygon of N sides, and the length of ...原创 2018-08-05 21:18:15 · 387 阅读 · 0 评论 -
2018 ACM 国际大学生程序设计竞赛上海大都会赛重现赛 J-Beautiful Numbers
链接:https://www.nowcoder.com/acm/contest/163/J 题目描述NIBGNAUK is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisib...原创 2018-08-05 21:28:38 · 217 阅读 · 0 评论