ICode9

精准搜索请尝试: 精确搜索
  • CTF-PWN-house-of-orange (unsortedbin attack+IO_FILE文件结构利用)2020-02-22 20:05:43

    程序综述 [*] '/home/supergate/Desktop/Pwn/houseoforange' Arch: amd64-64-little RELRO: Full RELRO Stack: Canary found NX: NX enabled PIE: PIE enabled FORTIFY: Enabled 保护全开 IDA查看程序逻辑后发现是一个菜单

  • 2020-2-2摸底测试B 贪心2020-02-03 11:02:41

    题面: Vova's house is an array consisting of n elements (yeah, this is the first problem, I think, where someone lives in the array). There are heaters in some positions of the array. The i-th element of the array is 1 if there is a heater in the posit

  • 爬虫之链家网2020-01-28 10:51:08

    链家网 爬取 如何查看头文件 看200 from lxml import etree import requests import csv import time # 定义爬取和解析数据的函数 #为了防止被服务器反爬虫禁止 所以定义头部 def spider(): headers={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/

  • c++设计模式-Builder2020-01-24 19:51:31

    动机 在软件系统中,有时候面临着“一个复杂对象”的创建工作,其通常由各个部分的子对象用一定的算法构成;由于需求的变化,这个复杂对象的各个部分经常面临着剧烈的变化,但是将它们组合在一起的算法却相对稳定。 如何应对这种变化?如何提供一种“封装机制”来隔离出“复杂对象的各个部分

  • codeforces A. Zoning Restrictions Again2020-01-21 22:03:02

    A. Zoning Restrictions Again      ou are planning to build housing on a street. There are n spots available on the street on which you can build a house. The spots are labeled from 1 to n from left to right. In each spot, you can build a house with an

  • Leetcode 198. House Robber2020-01-12 09:40:03

    You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatica

  • Python中的@property和decorator2019-12-30 12:54:35

    初次认识decorator和@property Welcome. 在本文中,将详细学习如何使用Python中的decorator和@property。 将会学习的内容: 使用decorator的优势。 使用@property的优势。 装饰器函数的基础知识:它们是什么以及如何与@property关联起来。 如何使用@property定义getter、setter和delet

  • 链家网站房屋成交因素2019-12-15 23:02:43

    一.主题式网络爬虫设计方案 1.主题式网络爬虫的名称 1.1链家网站的爬取 2,主题式网络爬虫的内容与数据特征分析 2.1爬虫的内容 房源信息的名称,小区名称,价格,楼层,代理人,单价,发布时间。 2.2 数据特征分析 2.2.1对楼层做一个词云并可视化 2.2.2对发布时间做一个折线图 3,主题式网络爬虫

  • STA 108 Fall 20192019-10-24 19:01:25

    STA 108 Fall 2019Sections B01-B02Project I - Due Friday, Oct 25th, by 5pm.Directions* You are allowed to work by yourself or with a partner. No more than 2 people per group.* Read all instructions carefully. You may only ask the TA, your group partner (if

  • 【python小项目】网页爬虫+mysql数据库储存,爬虫xx视频网站视频磁力链接2019-10-18 20:55:43

    #!/usr/bin/python3 # coding=utf8 import requests from bs4 import BeautifulSoup import pymysql   import time ''' 需求:某视频网站,没有搜索功能,我弄个python爬虫爬取网站视频名称和磁力链接,全部爬取下来放到mysql数据库中,就可以按自己喜好搜索关键字获得影片下载地址

  • How to save money when traveling to Seattle2019-10-16 11:55:24

    Motivation Since 2008, guests and hosts have used Airbnb to travel in a more unique, personalized way.I want to use a dateset from Airbnb to help people make decision when traveling to Seattle. Part I: When is the busiest time of the year in Seattle? When

  • Leetcode-337 House Robber III2019-09-24 09:40:56

    337. House Robber III Medium 176635FavoriteShare The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each house has one and only one parent house. After a

  • Kaggle: House Prices: Advanced Regression Techniques2019-09-22 11:01:18

    Kaggle: House Prices: Advanced Regression Techniques notebook来自https://www.kaggle.com/neviadomski/how-to-get-to-top-25-with-simple-model-sklearn 思路流程: 1.导入数据,查看数据结构和缺失值情况重点在于查看缺失值情况的写法:NAs = pd.concat([train.isnull().sum()

  • spark 表关联2019-09-20 19:55:06

    发现用spark写表join比flink 简单很多,至少schema 可以省了,下面是一个例子 public static void main(String[] args) { SparkSession s= SparkSession.builder().appName("rec").getOrCreate(); Dataset<Row> user=s.read().format("jdbc")

  • 2019S2 BUSS60022019-09-19 18:57:25

    2019S2 BUSS6002 Assignment 1Value: 15% of the total markInstructions1. Required Submission Items:1. ONE written report (PDF format). submitted via Canvas.• Assignments > Report Submission (Assignment 1)2. ONE Jupyter Notebook .ipynb submitted via Canva

  • The Lost House2019-08-30 21:55:14

    POJ 题意:\(n(n<=1000)\)个节点的树,蜗牛把壳落在了一个树叶上,壳在每一个树叶上的概率是相同的.现在蜗牛从树根开始爬,在树杈中可能会有毛毛虫,毛毛虫会告诉蜗牛壳是否在这个点的子树中.每个树枝的长度为1,求蜗牛最终能找到壳需要爬行的距离的期望值最小是多少. 分析:本人题解结合了

  • Two Cakes2019-08-30 20:40:59

    Sasha and Dima want to buy two n-tier cakes. Each cake should consist of n different tiers: from the size of 1 to the size of n. Tiers should go in order from the smallest to the biggest (from top to bottom). They live on the same street, there are 2⋅

  • day14 七牛云上传 ssm框架 图片上传2019-08-22 21:37:33

    SSM框架 图片上传 图片是通过 (反正是file形式的) <input type="file" name="houseImg5" id="inter5"/> 传到controller的参数 使用MultipartFile 形式 好像上传七牛云比较方便 (网上这么说的 @RequestMapping("toHousePost2") public String toHousePost2(@Param

  • Neo4j模糊查询及分页查询2019-08-22 14:55:09

    Neo4j模糊查询:采用正则方式;MATCH (n:House) where n.Name =~ '李.*' RETURN n 分页:使用skip 及 limitMATCH (n:House) where n.Name =~ '李.*' RETURN n skip 1 limit 1 原文地址:https://blog.csdn.net/c1052981766/article/details/80048715

  • LightOJ - 1040:Donation(Prim)2019-08-11 10:05:20

    https://vjudge.net/problem/LightOJ-1040 A local charity is trying to gather donations of Ethernet cable. You realize that you probably have a lot of extra cable in your house, and make the decision that you will donate as much cable as you can spare. You

  • 在 Python 中这样命名变量就是给自己挖坑2019-08-09 20:56:49

    下面这样的一串代码相信很多人都写过,但可能除了你自己没有人看得懂: for range in range(n): for j in range(m): for k in range(l): temp_value = X [i] [j] [k] * 12.5 new_array [i] [j] [k] = temp_value + 150   为了图方便,使用了简单而无实际

  • leetcode 337. House Robber III2019-08-04 12:51:19

    题意 题目链接: https://leetcode.com/problems/house-robber-iii/ 就是一颗树,然后头结点选了的话,只能选孙子结点 然后求这个树的可以选的最大的和 解法一 暴力+记忆化, 就是dfs(root, can)表示 当前root结点 可不可以被选 显然当前节点 可以选的话 结果就是 max(root->val + dfs(roo

  • Python学习笔记——pandas/numpy指令2019-08-01 16:40:08

    最近接触到了Pandas和Numpy这两个在数据分析处理方面十分强大的包,这篇文章用来记录自己用到的一些指令。 本学习笔记基于 《利用Python进行数据分析·第2版》 链接:https://www.jianshu.com/p/04d180d90a3f pandas1. pandas基础操作获取指定的行/列对行/列 的增删改操作对

  • 多重继承2019-07-31 20:02:21

    1 # 太爷爷 -> 爷爷 -> 爸爸 -> 儿子 2 # 单继承 : 一个父类对应一个子类 3 # 多重继承 : 子类有父类,父类有父类 。。。。 4 class YeYe(): 5 def __init__(self, house): 6 self.house = house 7 self.__wan = "古董" 8 def merry(self): 9 prin

  • 三分板子2019-07-31 13:03:44

    B - Light BulbTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3203   Description Compared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narrow and he has on

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有