原题链接 题目大意 给出一些星星的二维坐标,求星星左方,下方,左下方的星星个数。 思路题目已经把星星按照 y 坐标从小到大排序,若 y 相等则按 x 从小到大排序。因此,在每次对一个星星进行统计时,之...
POJ 2352 Stars[树状数组]
原题链接 题目大意 给出一些星星的二维坐标,求星星左方,下方,左下方的星星个数。 思路题目已经把星星按照 y 坐标从小到大排序,若 y 相等则按 x 从小到大排序。因此,在每次对一个星星进行统计时,之...
2019 fireshell web Vice
题目所给源码 <?php //require_once 'config.php'; class SHITS{ private $url; private $method; private $ad...
安恒杯 一月 web
babyGo<?php @error_reporting(1); include 'flag.php';class baby { protected $skyobj; public $aaa; ...
Prompt 1 to win
平台地址:http://prompt.ml/ 0. 轻松的开始function escape(input) { // warm up // script should be executed with...
Jarvis OJ Writeup
PORT 51➜ ~ sudo curl --local-port 51 http://web.jarvisoj.com:32770/<!DOCTYPE html><html>...
Hackme-Web-Writeup
hide and seek Can you see me? I’m so close to you but you can’t see me. 这题查看源码即可。 guestbook This gue...
Jarvis OJ phpinfo
从 session 角度学习反序列化下面是题目给出的源码 原题链接 <?php // A webshell is wait for you ini_set('session.serialize_...
Jarvis OJ inject
http://web.jarvisoj.com:32794/index.php~ 得到源码<?php require("config.php"); $table = $_GET['table']...
sqlmap tamper 列表
apostrophemask.py return payload.replace(‘’’, “%EF%BC%87”) if payload else payload 将单引号 url 编码,用于过滤了...
无字母数字 webshell
<?phpinclude 'flag.php';if(isset($_GET['code'])){ $code = $_GET['code']; if(strlen($code)>40){...
Leetcode 322.Coin Change[DP]
题目描述给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少的硬币个数。如果没有任何一种硬币组合能组成总金额,返回 -1。 示例 1: 输入: coi...
1156