码迷,mamicode.com
首页 >  
搜索关键字:miss    ( 1422个结果
PAT 甲级 A1092 (2019/02/18)
```C++ #include #include int change(char ch){ if(ch >= '0' && ch = 'a' && ch = 'A' && ch 0) printf("No %d\n", miss); else printf("Yes %d\n", len1-len2... ...
分类:其他好文   时间:2019-02-24 10:21:59    阅读次数:175
[BJOI2018]治疗之雨
题解 高斯消元+期望 首先好像有那么一句话叫概率正着推期望倒着推== 让你计算期望 那么考虑倒着推 设$f_S$表示剩余血量为$S$时距离结束的期望步数 然后显然$f_0=0$ 考虑每一轮,先有$1$次回血,再有$k$段攻击 那么可以计算出每次扣$t$滴血的期望是$atk[t]=C(_{t}^{k} ...
分类:其他好文   时间:2019-02-22 23:14:09    阅读次数:284
深入python的set和dict
一. 先来看看collections中的abc二. dict的常见用法 setdefault defaultdict __missing__方法 三. dict的子类 defaultdict Counter 不要去继承内置类型, 有可能会失败比如update方法 四. set和frozenset五. ...
分类:编程语言   时间:2019-02-22 12:22:16    阅读次数:176
linux高级骚操作
Linux基础系统优化 引言没有,只有一张图。 Linux的网络功能相当强悍,一时之间我们无法了解所有的网络命令,在配置服务器基础环境时,先了解下网络参数设定命令。 ifconfig 查询、设置网卡和ip等参数 ifup,ifdown 脚本命令,更简单的方式启动关闭网络 ip 符合指令,直接修改上述 ...
分类:系统相关   时间:2019-02-20 21:37:18    阅读次数:396
SVN同步出现问题
1、错误描述 同步SVNStatusSubscribe时报告了错误,1中的0个资源已经同步 同步/frame时发生错误:Error getting status for resource p/frame org.tigers.subversion.javahl.ClientException:Wor ...
分类:其他好文   时间:2019-02-14 12:03:00    阅读次数:192
The Imitation Game
Turning:Are you pay attention?Good.If you are not listening carefully you will miss things,important things.I will not repeat myself and you will not ...
分类:其他好文   时间:2019-02-13 22:28:15    阅读次数:192
HTTP协议 一
首言: HTTP协议(HyperText Transfer Protocol):超文本转移协议(超文本传输协议的说法并不严谨)。 为了理解HTTP,有必要说一下,TCP/IP协议族; 通常使用的网络(包括互联网)是在 TCP/IP 协议族的基础上运作的。而 HTTP 属于它内部的一个子集。 协议中存 ...
分类:Web程序   时间:2019-02-13 11:09:41    阅读次数:190
QT QGraphicsProxyWidget对象可选择或移动的一些tricks
我在QT图形视图框架中使用QGraphicsProxyWidget嵌入widget,但是无法使其和其它的QGraphicsItem一样可以选择或移动,使用如下语句无效: C++ Code 123456789101112 // Create new QGraphicsScene and assign  ...
分类:移动开发   时间:2019-02-12 18:38:28    阅读次数:633
Django-rest-framework(四)router
在上一节viewsets中,我们提到了route的方式使用,在这一节,我们将仔细介绍drf 的router机制。简单来说,router的作用就是将viewset对象的url映射关系提取出来。 简单使用 register 用两个参数, route中url的前缀 对应的viewset类 创建url的名字 ...
分类:其他好文   时间:2019-02-11 15:29:53    阅读次数:532
LC 992. Subarrays with K Different Integers
Given an array A of positive integers, call a (contiguous, not necessarily distinct) subarray of A good if the number of different integers in that su ...
分类:其他好文   时间:2019-02-10 23:33:31    阅读次数:293
1422条   上一页 1 ... 38 39 40 41 42 ... 143 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!