随笔分类 -  基础---规律

摘要:题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805430595731456 题意: 给定n,问0~n中,1的总个数是多少。 思路: 问的是总个数,所以不需要考虑重复,只用考虑每一位上的贡献就行了。 将数字分成三部分 阅读全文
posted @ 2019-04-06 20:59 wyboooo 阅读(140) 评论(0) 推荐(0) 编辑
摘要:题面pdfhttps://codeforc.es/gym/101889/attachments/download/7471/statements-2017-latam-regional.pdf zyn感冒,两个人打。刚开始两题超迅速,40分钟后开始各种写不出,自闭。然后突然又开出两题。 4题全部1A 阅读全文
posted @ 2018-11-18 17:07 wyboooo 阅读(368) 评论(0) 推荐(0) 编辑
摘要:含【最小球覆盖】【最大流isap】模板。 题面pdf https://codeforc.es/gym/101981/attachments/download/7891/20182019-acmicpc-asia-nanjing-regional-contest-en.pdf G Pyramid【数论 阅读全文
posted @ 2018-11-17 23:11 wyboooo 阅读(1934) 评论(0) 推荐(0) 编辑
摘要:Given any string of N (≥5) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l 阅读全文
posted @ 2018-10-28 20:15 wyboooo 阅读(150) 评论(0) 推荐(0) 编辑
摘要:I-Little Boxes【大数】 hdu6225 http://acm.hdu.edu.cn/showproblem.php?pid=6225 题意: 就是给四个大数,输出和。 思路: java大法好。用long longWA了一发 1 import java.math.BigInteger; 阅读全文
posted @ 2018-10-14 11:10 wyboooo 阅读(1893) 评论(0) 推荐(1) 编辑
摘要:26.89% 1000ms 131072K A prime number (or a prime) is a natural number greater than 11 that cannot be formed by multiplying two smaller natural numbers 阅读全文
posted @ 2018-09-12 20:06 wyboooo 阅读(145) 评论(0) 推荐(0) 编辑
摘要:A square-free integer is an integer which is indivisible by any square number except 11. For example, 6 = 2 \cdot 36=2⋅3 is square-fre... 阅读全文
posted @ 2018-09-03 19:37 wyboooo 阅读(159) 评论(0) 推荐(0) 编辑
摘要:链接:https://www.nowcoder.com/acm/contest/145/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288KSpecial Judge, 64bit IO Format: ... 阅读全文
posted @ 2018-08-20 10:05 wyboooo 阅读(143) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示