Loading

上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 75 下一页
摘要: 链接:https://ac.nowcoder.com/acm/contest/549/C来源:牛客网 题目描述 小A最近开始沉迷买彩票,并且希望能够通过买彩票发家致富。已知购买一张彩票需要3元,而彩票中奖的金额分别为1,2,3,4元,并且比较独特的是这个彩票中奖的各种金额都是等可能的。现在小A连续购 阅读全文
posted @ 2020-04-06 21:09 脂环 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Dreamoon likes coloring cells very much. There is a row of nn cells. Initially, all cells are empty (don't contain any color). Cells are numbered from 阅读全文
posted @ 2020-04-05 01:21 脂环 阅读(341) 评论(0) 推荐(1) 编辑
摘要: The sequence of mm integers is called the permutation if it contains all integers from 11 to mm exactly once. The number mm is called the length of th 阅读全文
posted @ 2020-04-04 13:02 脂环 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Dreamoon is a big fan of the Codeforces contests. One day, he claimed that he will collect all the places from 11 to 5454 after two more rated contest 阅读全文
posted @ 2020-04-04 10:42 脂环 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Farmer John has installed a new system of N−1N-1N−1 pipes to transport milk between the NNN stalls in his barn (2≤N≤50,0002 \leq N \leq 50,0002≤N 阅读全文
posted @ 2020-04-03 15:40 脂环 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Yixght is a manager of the company called SzqNetwork(SN). Now she's very worried because she has just received a bad news which denotes that DxtNetwor 阅读全文
posted @ 2020-04-03 14:27 脂环 阅读(174) 评论(0) 推荐(0) 编辑
摘要: You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read 阅读全文
posted @ 2020-04-02 23:38 脂环 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Word ss of length nn is called kk -complete if ss is a palindrome, i.e. si=sn+1−isi=sn+1−i for all 1≤i≤n1≤i≤n ; ss has a period of kk , i.e. si=sk+isi 阅读全文
posted @ 2020-04-01 20:22 脂环 阅读(305) 评论(0) 推荐(0) 编辑
摘要: A positive integer is called composite if it can be represented as a product of two positive integers, both greater than 11 . For example, the followi 阅读全文
posted @ 2020-04-01 20:06 脂环 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Alice has a cute cat. To keep her cat fit, Alice wants to design an exercising walk for her cat! Initially, Alice's cat is located in a cell (x,y)(x,y 阅读全文
posted @ 2020-04-01 19:45 脂环 阅读(358) 评论(0) 推荐(0) 编辑
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 75 下一页