easy_md bjdctf 2020 easy

Hot Start Up (easy version) CF1799

你有两个 CPU,n个程序(m个类型)要运行。 在不同条件下程序运行的时间不同,但连续运行的时间满足小于等于在不连续状态下运行的时间。 #include <iostream> #include <cstring> #include <queue> using namespace std; const ......
version Start 1799 easy Hot

[BUUCTF]PWN-bjdctf_2020_babyrop

注意本题需要用到ROPgadget 安装命令: sudo apt-get install python-capstone git clone https://github.com/JonathanSalwan/ROPgadget.git cd ROPgadget sudo python setup. ......
PWN-bjdctf babyrop BUUCTF bjdctf 2020

[BUUCTF]PWN-bjdctf_2020_babystack2

这题比较简单,注意无符号字符串变为负数之后会发生溢出即可 pro.symbols是输出函数地址的意思 r.recvuntil的使用是接收到字符串为止,然后将接受的数据返回 为什么会有两个payload是因为我想使用这种方式看看行不行 为什么是0x10,是因为main函数里不能大于10 为什么是0x0 ......

求求你别乱脱敏了!MyBatis 插件 + 注解轻松实现数据脱敏,So easy~!

问题 在项目中需要对用户敏感数据进行脱敏处理,例如身份号、手机号等信息进行加密再入库。 解决思路 就是:一种最简单直接的方式,在所有涉及数据敏感的查询到对插入时进行密码加解密 方法二:有方法一到出现对所有重大问题的影响,需要考虑到问题的出现,并且需要考虑可能出现的组员时添加数据的方法。 最后决定采用 ......
注解 插件 MyBatis 数据 easy

re/【unity】游戏逆向首试 [BJDCTF2020]BJD hamburger competition

本题是是一个unity游戏,而且是以c#和.net编写尝试直接用idea进行反汇编,但是没有找到运行逻辑,后来在大佬的wp上发现是利用dnspy对c#的dll文件进行返回编,进而获得结果。 反汇编 BJD hanburger competirion_Data中的Assembly-CSharp.dll ......
competition hamburger BJDCTF unity 2020

BUUCTF re/[ACTF新生赛2020]Oruga

#[ACTF新生赛2020]Oruga 进入sub_78A函数,查看主要逻辑 打印迷宫,并确定结果 data=[0, 0, 0, 0, 0x23, 0, 0, 0, 0, 0, 0, 0, 0x23, 0x23, 0x23, 0x23, 0, 0, 0, 0x23, 0x23, 0, 0, 0, 0 ......
新生 BUUCTF Oruga ACTF 2020

【论文阅读】RAL2020: UFOMap An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown

Last edited time: March 31, 2023 1:30 PM Reference and prenotes Paper link:https://ieeexplore.ieee.org/document/9158399 Code link:https://github.com/U ......

2020版IDEA创建springboot项目

第一步:点击File->New->Project 第二步:点击Spring Initializr,并选择jdk,点击Next 第三步:输入Group(组名),Artifact(项目名),Package(包名),点击Next 第四步:Web——Spring Web 第五步:点击Finish,完成创建。 ......
springboot 项目 2020 IDEA

leetcode-733-easy

Flood Fill An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image. You are also given three ......
leetcode easy 733

leetcode-1005-easy

Maximize Sum Of Array After K Negations Given an integer array nums and an integer k, modify the array in the following way: choose an index i and rep ......
leetcode 1005 easy

leetcode-724-easy

Find Pivot Index Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the sum of all the numbe ......
leetcode easy 724

leetcode-762-easy

Prime Number of Set Bits in Binary Representation Given two integers left and right, return the count of numbers in the inclusive range [left, right] ......
leetcode easy 762

leetcode-744-easy

Find Smallest Letter Greater Than Target You are given an array of characters letters that is sorted in non-decreasing order, and a character target. ......
leetcode easy 744

LOJ #3408 -「2020-2021 集训队作业」lancllords(交互+莫队)

考虑归并排序,难点在于怎样合并两个有序序列。 我们假设要合并两个有序序列 $A,B$,不妨假设 $|A|>|B|$,考虑以下过程: 将 $|A|$ 中的元素按下标奇偶性分成两个序列 $A_0,A_1$。 递归合并 $A_0$ 与 $B$。 将 $A_1$ 中的元素插入 $A_0$ 与 $B$ 得到的 ......
集训队 lancllords 3408 2020 2021

联合省选 2020~2022

联合省选 2021 A 卷 D1T1 卡牌游戏 把两个序列合并起来排序后双指针即可。复杂度 $O(n\log n)$。 联合省选 2020 B 卷 D2T1 消息传递 等价于求与 $x$ 距离恰好为 $k$ 的节点个数。点分治/点分树均可,每组数据复杂度 $O((n+m)\log n)$。 ac l ......
2020 2022

CS61A Fall 2020 Lab 5 Data Abstraction, Trees 我的思路

Description: https://inst.eecs.berkeley.edu/~cs61a/fa20/lab/lab05/ Optional Questions Tree - Q10: Add Trees (不会做,是老师的讲解) Define the function add_trees ......
Abstraction 思路 Trees 2020 Fall

2020年长安杯复盘WP

长安杯2020 检材一 | 1 | 检材 1 的操作系统版本是 ()A. CentOS release 6.5 (Final)B. Ubuntu 16.04.3 LTSC. Debian GNU/ Linux 7.8 (wheezy)D. CentOS Linux release 7.6.1810 ......
2020

leetcode-1089-easy

Duplicate Zeros Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that ele ......
leetcode 1089 easy

leetcode-1009-easy

Complement of Base 10 Integer The complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binar ......
leetcode 1009 easy

leetcode-1317-easy

Convert Integer to the Sum of Two No-Zero Integers No-Zero integer is a positive integer that does not contain any 0 in its decimal representation. Gi ......
leetcode 1317 easy

百度2020校招Web前端工程师笔试卷(第三批)(大题21~23)

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> body, ul, li,select { margin: 0; padding: 0; box-sizing: border-box; } ul,li {list-style: ......
前端 笔试 工程师 工程 2020

百度2020校招Web前端工程师笔试卷(第二批)(20~23)

21. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> .checkgroup .item{ height: 42px; line-height: 42px; padding: 0 10px; margin: 10px 0; ......
前端 笔试 工程师 工程 2020

省选联考 2020 题解

继续。仍然按照谷题号。 [省选联考 2020 A/B 卷] 冰火战士 简单题。 离散化一下,温度显然取到某个战士的温度。对于一个温度我们要知道温度小于等于它的冰系战士的能量和和大于等于它的火系战士的能量和。容易发现冰系战士能量随温度升高单调不降,火系单调不升。那么一定有一个交点。两个树状数组分别维护 ......
题解 2020

ICPC2020昆明 Cities

原题链接 题目简述 $\qquad$给定一串数字,对于一串连续的数字,可以将它们染色成任意数字,问最少要多少次才能把这串数字全部染成同种颜色。 思路解析 $\qquad$我们可以对题目进行一下转化:所有数字全部染成同种颜色意味着相邻异色数对的数量为 $0$,那我们每次对整段的区间染色,只有以下两种情 ......
Cities ICPC 2020

百度2020校招Web前端工程师笔试卷(第一批)大题部分(21~23)

非大题在本地pdf中有详解 #21.异或 题解 #include <iostream> using namespace std; long long change(long long x){ if(x % 4 == 0){ return x; }else if(x % 4 == 1){ return ......
前端 笔试 工程师 部分 工程

【牛客小白月赛69】题解与分析A-F【蛋挞】【玩具】【开题顺序】【旅游】【等腰三角形(easy)】【等腰三角形(hard)】

比赛传送门:https://ac.nowcoder.com/acm/contest/52441 感觉整体难度有点偏大。 🎈 作者:Eriktse 🎈 简介:19岁,211计算机在读,现役ACM银牌选手🏆力争以通俗易懂的方式讲解算法!❤️欢迎关注我,一起交流C++/Python算法。(优质好文持 ......

题解:【COCI2019-2020#6】 Trener

题目链接 本人于三月二十四日模拟赛本题中使用 $\mathcal O(n^2 k + n k^2)$ 哈希+DP,因神秘常数原因竟打不过 $\mathcal O(n^2 k^2)$,甚至被卡的TLE飞起,怒挂五十分。赛后交了一页的TLE,最后换成自然溢出才能过,~~铭记贰点贰叁~~。 不会吧不会吧不 ......
题解 Trener COCI 2019 2020

leetcode-1480-easy

Running Sum of 1d Array Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum of nu ......
leetcode 1480 easy

leetcode-1450-easy

Number of Students Doing Homework at Given Time Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started ......
leetcode 1450 easy

leetcode-1437-easy

Check If All 1's Are at Least Length K Places Away Given an binary array nums and an integer k, return true if all 1's are at least k places away from ......
leetcode 1437 easy