码迷,mamicode.com
首页 >  
搜索关键字:in out    ( 35870个结果
just a demo
<!-- demodemo.xml --><dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-mapreduce-client-core</artifactId> <version>2.7.0</version> ...
分类:其他好文   时间:2021-01-26 12:23:58    阅读次数:0
E 牛牛数数 线性基+二分
1 #include <bits/stdc++.h> 2 3 using namespace std; 4 #define ENDL "\n" 5 typedef long long ll; 6 typedef pair<int, int> pii; 7 const int inf = 0x7fff ...
分类:其他好文   时间:2021-01-26 12:07:05    阅读次数:0
B-Fair Division
Alice and Bob received nn candies from their parents. Each candy weighs either 1 gram or 2 grams. Now they want to divide all candies among themselves ...
分类:其他好文   时间:2021-01-26 11:57:06    阅读次数:0
for的应用
增强for循环 int []s={10,20,30,40,50}; //常规 for (int i = 0; i < 5; i++) { System.out.println(s[i]); } System.out.println(" "); //增强for for(int j:s) { Syste ...
分类:其他好文   时间:2021-01-26 11:52:57    阅读次数:0
fuzzing准备工作---插桩
AFL代码插桩 在使用AFL时,需要先通过afl-gcc/afl-clang等工具编译目标程序(在这个过程中对目标进行插桩)。 编译过程:源代码-->汇编代码-->二进制。 源代码-->汇编代码:这一步是通过 汇编代码-->二进制:这一步是通过汇编器(assembler)。Linux中常用的汇编器是 ...
分类:其他好文   时间:2021-01-25 11:31:54    阅读次数:0
Array Destruction
题意 给出一个长为2n的序列,你需要设定一个数x,每一次你可以选择序列中的两个数a和b,满足a+b等于x,然后将ab从序列中去除,最后将x变为a和b较大的那个数。如果可以把序列全部消空,输出yes和最开始的x,然后输出每一步选择的两个数。否则输出no。 思路 我们可以知道的是每一步的两个数里面一定有 ...
分类:其他好文   时间:2021-01-25 11:17:31    阅读次数:0
JAVA 新特性
一、JAVA8新特性lambda表达式 ()->{ return 5;} 二、方法引用,将方法作为参数传入: foreach(System.out::printLn) 三、函数式接口 @FunctionalInterface interface GreetingService { void sayM ...
分类:编程语言   时间:2021-01-25 11:12:33    阅读次数:0
P2853 [USACO06DEC]Cow Picnic S
**思路:**反向建边,以每一个农场为起点dfs一遍,得到从这个农场开始能够访问到的奶牛数目cnt,若cnt = k说明所有的奶牛都能到这个农场,结果+1. 复杂度:\(O(n(n+n+m))=O(nm)\),1e7不会超时 #include<iostream> #include<cstring> ...
分类:其他好文   时间:2021-01-25 10:54:37    阅读次数:0
【sprinb-boot】@ComponentScan 跳过扫描 excludeFilters
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = {Controller.class, RestController.class})) 前言 springboot ...
分类:其他好文   时间:2021-01-22 12:28:51    阅读次数:0
python 装饰器
一、函数装饰器 1.从函数中返回函数 在 if/else 语句中我们返回 greet 和 welcome,而不是 greet() 和 welcome()。为什么那样?这是因为当你把一对小括号放在后面,这个函数就会执行;然而如果你不放括号在它后面,那它可以被到处传递,并且可以赋值给别的变量而不去执行它 ...
分类:编程语言   时间:2021-01-21 10:49:34    阅读次数:0
35870条   上一页 1 ... 54 55 56 57 58 ... 3587 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!