浏览器标题切换
浏览器标题切换end

10 2019 档案

摘要:The only difference between easy and hard versions is the maximum value of n. You are given a positive integer number nn. You really love good numbers 阅读全文
posted @ 2019-10-30 23:23 抓水母的派大星 阅读(205) 评论(0) 推荐(0) 编辑
摘要:题意:给出n、c,表示有n层楼,等电梯需要c时间;给出两行数,每行有n-1个数,第一行stairs代表从1楼到每层楼走楼梯需要的时间第二行elevator代表从1楼到每层楼乘电梯需要的时间;需要注意的是,从电梯转电梯不需要等待时间,从楼梯转楼梯也不需要等待时间,但是从楼梯转电梯需要算上等待的时间 t 阅读全文
posted @ 2019-10-29 18:01 抓水母的派大星 阅读(384) 评论(0) 推荐(0) 编辑
摘要:一般搜索 注意:一般定义成void Books Exchange (easy version) CodeForces - 1249B2 The only difference between easy and hard versions is constraints. There are nn ki 阅读全文
posted @ 2019-10-28 23:35 抓水母的派大星 阅读(295) 评论(0) 推荐(0) 编辑
摘要:Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concate 阅读全文
posted @ 2019-10-27 21:57 抓水母的派大星 阅读(257) 评论(0) 推荐(0) 编辑
摘要:lo0:loopback回环地址一般是127.0.0.0,loopback指本地环回接口(或地址),亦称回送地址()。此类接口是应用最为广泛的一种虚接口,几乎在每台路由器上都会使用。 gif0: software Network Interface 软件网络接口 stf0:6to4 tunnel i 阅读全文
posted @ 2019-10-23 17:07 抓水母的派大星 阅读(947) 评论(0) 推荐(0) 编辑
摘要:样例 样例输入 4 add Inside C# find Effective Java add Effective Java find Effective Java 样例输出 no yes 数据范围与提示 n<=30000 1 #include<stdio.h> 2 #include<algorit 阅读全文
posted @ 2019-10-19 14:13 抓水母的派大星 阅读(265) 评论(0) 推荐(0) 编辑
摘要:The football season has just ended in Berland. According to the rules of Berland football, each match is played between two teams. The result of each 阅读全文
posted @ 2019-10-19 08:00 抓水母的派大星 阅读(208) 评论(0) 推荐(0) 编辑
摘要:The string t1t2…tkt1t2…tk is good if each letter of this string belongs to at least one palindrome of length greater than 1. A palindrome is a string 阅读全文
posted @ 2019-10-17 21:56 抓水母的派大星 阅读(255) 评论(0) 推荐(0) 编辑
摘要:You are playing a variation of game 2048. Initially you have a multiset ss of nn integers. Every integer in this multiset is a power of two. You may p 阅读全文
posted @ 2019-10-16 16:51 抓水母的派大星 阅读(280) 评论(0) 推荐(0) 编辑
摘要:求回文串的个数,中心扩展法,占用内存比马拉车小一点点,但代码较马拉车而言简单易懂。 阅读全文
posted @ 2019-10-15 09:44 抓水母的派大星 阅读(147) 评论(0) 推荐(0) 编辑
摘要:Monocarp has got two strings ss and tt having equal length. Both strings consist of lowercase Latin letters "a" and "b". Monocarp wants to make these 阅读全文
posted @ 2019-10-15 09:38 抓水母的派大星 阅读(294) 评论(0) 推荐(0) 编辑
摘要:参考公众号:https://mp.weixin.qq.com/s?src=11&timestamp=1576558053&ver=2039&signature=mN7nJghjPUfRJJ16i67HUNkjeTL5gz3ietls7XFab6PuX*ZA2Em-YMBe4s7CZkVxWjbHRI 阅读全文
posted @ 2019-10-10 20:40 抓水母的派大星 阅读(227) 评论(0) 推荐(0) 编辑
摘要:double定义的变量输入的时候一定要%lf输入,要是%f输入的话,得到的结果会是0 float输入的时候是%f 但是在输出的时候%lf和%f都可以输出 建议使用double类型时,用%lf输入,%f输出避免出错。 阅读全文
posted @ 2019-10-09 16:56 抓水母的派大星 阅读(719) 评论(0) 推荐(0) 编辑
摘要:You are given a system of pipes. It consists of two rows, each row consists of nn pipes. The top left pipe has the coordinates (1,1)(1,1) and the bott 阅读全文
posted @ 2019-10-03 18:01 抓水母的派大星 阅读(534) 评论(0) 推荐(0) 编辑

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