#include <bits/stdc++.h> using namespace std; typedef long long ll; /* 给你一个字符串只有0和1,问你有多少个子串满足长度等于该子串的二进数值 开始我不知道如何暴力,后来想直接借助前面求得二进制值来往下求 但是还是不可以,tle ... ...
分类:
其他好文 时间:
2019-10-02 00:54:54
阅读次数:
99
我们使用我们需要使用泛型的知识 IBaseDao ()我们需要解决的问题是,怎么通过泛型找到是什么类 /*// 获取当前new的对象的泛型的父类类型ParameterizedType pt=(ParameterizedType)this.getClass().getGenericSuperclass ...
分类:
其他好文 时间:
2019-09-27 22:45:27
阅读次数:
114
Traverse an expression tree and extract parameters I think as you've said that using ExpressionVisitor works out to be a good approach. You don't need ...
分类:
其他好文 时间:
2019-09-24 19:21:37
阅读次数:
119
BIG3CLIK6F-eyJsaWNlbnNlSWQiOiJCSUczQ0xJSzZGIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGl ...
分类:
其他好文 时间:
2019-09-22 18:05:57
阅读次数:
136
PR: Pull Request. 拉取请求,给其他项目提交代码 LGTM: Looks Good To Me. 看起来不错,代码已 review,可以合并 SGTM: Sounds Good To Me. 和上面那句意思差不多 WIP: Work In Progress. 若你有个改动很大 PR, ...
分类:
其他好文 时间:
2019-09-21 16:53:57
阅读次数:
163
一、求以下表达式的值,写出您想到的一种或几种实现方法: 1-2+3-4+……+m //方法一,通过顺序规律写程序,同时也知道flag标志位的重要性。 二,有一个字符串 "I am a good man",设计一个函数,返回 "man good a am I"。 三.有1、2、3、4个数字,能组成多少 ...
分类:
编程语言 时间:
2019-09-18 20:51:21
阅读次数:
98
判断栈溢出长度 单字节爆破Canary BROP gadgets 寻找libc_csu_init的结尾一长串的 gadgets ...
分类:
其他好文 时间:
2019-09-16 23:49:52
阅读次数:
202
__libc_csu_init _init _start call_gmon_start deregister_tm_clones register_tm_clones __do_global_dtors_aux frame_dummy __libc_csu_init __libc_csu_fini ...
分类:
其他好文 时间:
2019-09-16 21:50:15
阅读次数:
88
https://csustacm.fun/problem/2033 这个题目还是比较简单的,但是比赛的时候没有像清楚,用了一个不太熟悉的数据结构主席树, 所以出现了bug,主席树的bug是真的难找。 这个题目就是首先用dfs+线段树求出每一个富翁的val 然后用二分加线段树来找位置。 #includ ...
分类:
其他好文 时间:
2019-09-15 10:58:49
阅读次数:
97
照抄自 "Understanding node.js" Node is basically very good when you need to do several things at the same time. Have you ever written a piece of code and ...
分类:
Web程序 时间:
2019-09-14 13:29:33
阅读次数:
133