会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lbq的小屋
首页
新随笔
管理
上一页
1
2
3
4
下一页
2018年4月7日
Wannafly挑战赛13-比赛总结与部分题解
摘要: 题目链接:点击打开链接A:题意很清晰了,就是让你打表,问你一共多少字符串看起来一样,把每一位的情况数乘起来就可以了注意取模方式:#includeusing namespace std;int main(){ char s[100010]; scanf("%...
阅读全文
posted @ 2018-04-07 00:23 lbq的小屋
阅读(87)
评论(0)
推荐(0)
2018年4月6日
Python学习笔记(小甲鱼版)Day2:
摘要: Day2:1.今天主要学了变量和字符串,跟C语言最大的区别就是,不用定义,直接用students='bql'注意在交互界面,键入students和print(students)是不一样的。前者输出未经格式化的字符串,后者会达到转义字符的效果比如students='bq...
阅读全文
posted @ 2018-04-06 23:36 lbq的小屋
阅读(132)
评论(0)
推荐(0)
Python学习笔记(小甲鱼版)Day1:
摘要: emmm本人开了一个新坑,那就是学习python!目前跟着小甲鱼视频学习中:Day1:input(),括号里面是提示字符串,返回值是从键盘读入的值,相当于先printf再scanf。这里的输入需要转成int类型 函数:int()字符串*一个数 结果为字符串输出n倍...
阅读全文
posted @ 2018-04-06 23:22 lbq的小屋
阅读(177)
评论(0)
推荐(0)
2018年4月5日
Educational Codeforces Round 41 (Rated for Div. 2)(持续更新中)
摘要: 题目原文懒得放了,丢个链接:点击打开链接A:平台上有n个槽,然后要往里面放1*1的方块,如果n个槽的底部同时有方块那么所有槽底下的方块同时去掉,然后你得一分!……想起了什么经典游戏呢哈哈哈……数据较小,暴力查找就行:代码如下:#includeusing namespa...
阅读全文
posted @ 2018-04-05 09:19 lbq的小屋
阅读(107)
评论(0)
推荐(0)
CodeForces - 957A Tritonic Iridescence
摘要: Overlooking the captivating blend of myriads of vernal hues, Arkady the painter lays out a long, long canvas.Arkady has a sufficiently...
阅读全文
posted @ 2018-04-05 01:21 lbq的小屋
阅读(242)
评论(0)
推荐(0)
CodeForces - 955A Feed the cat
摘要: After waking up at hh:mm, Andrew realised that he had forgotten to feed his only cat for yet another time (guess why there's only one ...
阅读全文
posted @ 2018-04-05 01:10 lbq的小屋
阅读(168)
评论(1)
推荐(0)
2018年3月29日
PAT(B) 1074. 宇宙无敌加法器(20)
摘要: 地球人习惯使用十进制数,并且默认一个数字的每一位都是十进制的。而在PAT星人开挂的世界里,每个数字的每一位都是不同进制的,这种神奇的数字称为“PAT数”。每个PAT星人都必须熟记各位数字的进制表,例如“……0527”就表示最低位是7进制数、第2位是2进制数、第3位是5...
阅读全文
posted @ 2018-03-29 18:42 lbq的小屋
阅读(104)
评论(0)
推荐(0)
2018年1月31日
Codecraft-18 and Codeforces Round #458 (Div. 1 + Div. 2, combined) B题(博弈)
摘要: B. Conan and Agasa play a Card GameEdogawa Conan got tired of solving cases, and invited his friend, Professor Agasa, over. They decid...
阅读全文
posted @ 2018-01-31 17:05 lbq的小屋
阅读(141)
评论(0)
推荐(0)
2018年1月30日
Codeforces Round #459 (Div. 2) B. Radio Station(模拟,字符串)
摘要: As the guys fried the radio station facilities, the school principal gave them tasks as a punishment. Dustin's task was to add comment...
阅读全文
posted @ 2018-01-30 19:45 lbq的小屋
阅读(189)
评论(0)
推荐(0)
2017年11月1日
POJ 2739—Sum of Consecutive Prime Numbers (素数)
摘要: Some positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a give...
阅读全文
posted @ 2017-11-01 18:26 lbq的小屋
阅读(113)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告