摘要: A - Crazy Search Many people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime number 阅读全文
posted @ 2019-09-23 20:51 liyexin 阅读(275) 评论(0) 推荐(0)
摘要: 本题地址: https://codeforces.com/contest/1215/problem/B 本场比赛A题题解:https://www.cnblogs.com/liyexin/p/11535519.html B. The Number of Products time limit per 阅读全文
posted @ 2019-09-23 19:15 liyexin 阅读(326) 评论(0) 推荐(0)
摘要: 恢复内容开始 output standard output The final match of the Berland Football Cup has been held recently. The referee has shown n yellow cards throughout the 阅读全文
posted @ 2019-09-17 17:19 liyexin 阅读(446) 评论(0) 推荐(0)
摘要: 131072K A digit sum S_b(n)Sb​(n) is a sum of the base-bb digits of nn. Such as S_{10}(233) = 2 + 3 + 3 = 8 S10​(233)=2+3+3=8, S_{2}(8)=1 + 0 + 0 = 1S2 阅读全文
posted @ 2019-09-16 20:29 liyexin 阅读(364) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2087 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input输入中含有一些数据,分别是成对出现的花布条和小饰条, 阅读全文
posted @ 2019-09-12 19:58 liyexin 阅读(194) 评论(0) 推荐(0)
摘要: 地址: https://vjudge.net/problem/27861/origin Ilya plays a card game by the following rules. A player has several cards. Each card contains two non-nega 阅读全文
posted @ 2019-09-12 16:46 liyexin 阅读(253) 评论(0) 推荐(1)
摘要: For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the pr 阅读全文
posted @ 2019-09-11 19:44 liyexin 阅读(233) 评论(0) 推荐(1)
摘要: A - ^&^ Bit operation is a common computing method in computer science ,Now we have two positive integers AA and BB ,Please find a positive integer CC 阅读全文
posted @ 2019-08-29 10:12 liyexin 阅读(850) 评论(0) 推荐(0)
摘要: 题目地址 http://codeforces.com/contest/1196/problem/B B. Odd Sum Segments time limit per test 3 seconds memory limit per test 256 megabytes input standard 阅读全文
posted @ 2019-07-25 10:13 liyexin 阅读(315) 评论(0) 推荐(0)
摘要: A very big corporation is developing its corporative network. In the beginning each of the N enterprises of thecorporation, numerated from 1 to N, org 阅读全文
posted @ 2019-07-19 16:20 liyexin 阅读(303) 评论(0) 推荐(0)