码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
JS-jQuery
jQuery 获取jQuery 公式:$(selector).action() jQuery(选择器).事件() <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title><!-- 导入在线cdn ...
分类:Web程序   时间:2021-06-02 14:55:16    阅读次数:0
狼爪兔子 [对偶图]
题目大意:给出一张左上角点为(1,1),右下角点为(N,M)(上图中N=4,M=5).有以下三种类型的道路1:(x,y)<==>(x+1,y)2:(x,y)<==>(x,y+1)3:(x,y)<==>(x+1,y+1)n,m<=1000求最小割. 数据太大,网络流会很卡(不太清楚用一些玄学的底层优化 ...
分类:其他好文   时间:2021-06-02 14:54:44    阅读次数:0
范围for循环
//普通for循环 void test(){ int arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; for (int i = 0; i < sizeof(arr) / sizeof(arr[0]); ++i){ cout << arr[i] << " "; } cou ...
分类:其他好文   时间:2021-06-02 14:53:43    阅读次数:0
Python break/continue - Python零基础入门教程
目录 一.break 二.continue 三.重点总结 四.猜你喜欢 零基础 Python 学习路线推荐 : Python 学习目录 >> Python 基础入门 在 Python while 循环 文章结尾,我们留下了一个 bug,当条件永远为 True 时,程序 while 循环陷入了死循环, ...
分类:编程语言   时间:2021-06-02 14:47:32    阅读次数:0
利用鞅停时定理构造势能函数求解期望类问题
鞅、停时定理 鞅,用来描述一种 公平、连续 随机过程。首先来看定义,这里只考虑离散意义下的鞅。 称随机过程 \(X=\{X_n,n\ge 0\}\) 为 鞅,若 \(E(|X_n|)\le\infty\) \(E(X_{n+1}|X_0,\cdots,X_n)=E(X_n)\) 称随机过程 \(Y= ...
分类:其他好文   时间:2021-06-02 14:46:37    阅读次数:0
Linux epoll 单线程
#include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/epoll.h> #include <sys/sendfile.h> #inclu ...
分类:编程语言   时间:2021-06-02 14:40:56    阅读次数:0
22. 括号生成
package leetcode; import java.util.ArrayList; import java.util.List; public class demo_22 { public List<String> generateParenthesis(int n) { List<Stri ...
分类:其他好文   时间:2021-06-02 14:38:15    阅读次数:0
repo sync --help
repo sync --helpUsage: repo sync [<project>...] Options: -h, --help show this help message and exit显示此帮助消息并退出 -f, --force-broken continue sync even if ...
分类:其他好文   时间:2021-06-02 14:35:51    阅读次数:0
leetcode 198 打家劫舍
简介 看到这种题目立即推, 动态规划. 但是我列出的不是特别好的公式, 提供自己的公式和官方的公式. res 是 自己创建的动态规划数组. nums[i] 我这里是都会选择nums[i], 但是会递推前面两个. for(int i=2; i<nums.size(); i++){ for(int j ...
分类:其他好文   时间:2021-06-02 14:34:27    阅读次数:0
Flutter——首次在安卓机上运行
第一次在ASCode上用安卓机测试Flutter项目,直接运行,会报很多错误,需要在项目中新增配置 环境:安卓机 开发工具:ASCode .vscode -> launch.json { // Use IntelliSense to learn about possible attributes. ...
分类:移动开发   时间:2021-06-02 14:33:32    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!