2019 Niuke Summer Multi-School Training Camp (Game 6) - Upgrading Technology
Simulation + two-dimensional st table
Enumerate the level at which all skills reach each time, and then increase the cost of each skill to a negative level, provided that at least one skill can not be added, because the level at which all skills may arrive next time will yield a negative return.
Each enumeration does not take more d to traverse ...
Added by jsladek on Thu, 10 Oct 2019 19:56:54 +0300
POJ - 2031 Building a Space Station (prim)
Topic: Give the number of spherical space stations N, and the three-dimensional coordinates x,y,z and radius r of each space station. Find the minimum cost of connecting all space stations (cost is equal to the distance between space stations). If contacting, including, or intersecting, there is no need to build bridges.
Idea: It's also a mini ...
Added by Vasko on Thu, 10 Oct 2019 14:39:25 +0300
P5304 Traveler (a hooligan solution more than bk201)
The title is as above.
Violent milling, n^2 million!!
As a puzzle, it does have a little water (if it's an animal solution)
It is to find the minimum value of the shortest path between two points.
Originally a very deep question, to run twice the shortest path, and then dye ah, and then expand what, but! One of the fairies (not bk201) was ...
Added by zsedc on Thu, 10 Oct 2019 00:52:53 +0300
The Use of aspect-ratio Width-to-Height Ratio in less for css Media Queries
css media query has a aspect-ratio, which can be used directly for page adaptation.
// Width-to-height ratio is within ((320/50)+(728/90)/2 of the median of two sizes to fit 320*50 design pattern.
@media screen and (min-aspect-ratio: ~"249/50") and (max-aspect-ratio: ~"29/4"){
@base: 320;
@convert: 375/@base;
.c ...
Added by jamie85 on Wed, 09 Oct 2019 09:01:46 +0300
A Note on Monotone Queue--Sliding Window
Some nonsense:
In memory of hin, a long time ago, the elder gellygoat told us about the monotonous queue that never moved again in his nest.
qbxt's computer compiled once 9s+ can starfish.
f10 is really good.
Topic transfer
Does the data look like it can be clipped by a line segment tree?
As a board question of monotone queue, this qu ...
Added by mchannel on Mon, 07 Oct 2019 23:21:57 +0300
Wechat Domain Name Interception Detection-Mechanism and Primary Understanding Secret
background
Due to the stricter restrictions, domain names are judged to be induced sharing. Therefore, the company decided to investigate a set of stable, fast and accurate detection and query interfaces for the domain name interception.
The development group tried to search for a period of time, and found that the source code and principles w ...
Added by shellyrobson on Mon, 07 Oct 2019 10:10:59 +0300
AWD_rewriting kitchen knife of ctf
AWD(3)_rewriting kitchen knife of ctf
principle
Multiple post
cmd=@eval(base64_decode($_POST[z0]));
#cmd is the original password, z0 is the new password.
Analysis of Wishark Pack Grabbing
Kitchen knife 2011
post data analysis
&cmd=%40eval%01%28base64_decode%28%24_POST%5Bz0%5D%29%29%3B
&a ...
Added by mlschutz on Sun, 06 Oct 2019 17:41:03 +0300
The Use of yii2-girdView: The Use of DateRange Picker
Use scenarios: filter data by date
Following are common code blocks for individuals:
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
$visible ? $url = 'awards' : $url = 'index';
?>
<div class="awards-record-index">
<?= GridView::widget([
'dataProvider' => $dataProvider,
' ...
Added by KYarb on Sat, 05 Oct 2019 12:34:20 +0300
Attendance Application-Human Resource System
Project address Bee
introduce
Bee is a attendance application in human resources system. Its main function is to apply for leave forms. Bee has high performance and extensibility, including front-end separation, plug-in rule validation (verifier), data filtering (decorator), message queue, etc. The back-end adds Services, Repositories layer to ...
Added by mattachoo on Thu, 03 Oct 2019 04:52:37 +0300
php and microservices
The company's system has no fault-tolerant mechanism at all. So I think of java microservices.
First, you need a registry getService.php
<?php
$array = ["produce" => [
["url" => "http://127.0.0.1/testSwitch/producer1.php","status" => "1"],
["url" => "http://127.0.0.1/testSwitch/producer2.php", ...
Added by zipadee on Thu, 03 Oct 2019 01:30:43 +0300