问题: 1 error: failed to push some refs to 2 hint: Updates were rejected because the tip of your current branch is behind 3 hint: its remote counterpart ...
分类:
其他好文 时间:
2021-06-19 18:56:51
阅读次数:
0
json.dumps :把字典转换成字符串 #在python中字典就是json对象 import jsonstr_dict={"name":"xiaoming","age":"18"} #json.dumps :把字典转换成字符串 str1=json.dumps(str_dict) print(ty ...
分类:
Web程序 时间:
2021-06-19 18:52:06
阅读次数:
0
1.思路:从图中的未访问的一个顶点开始,沿着一条路一直走到底,然后这条路尽头的节点,在从另外一条路走到底,不断递归此过程,直到所有遍历完成特点:不撞南墙不回头2.具体实现:当从一个未知的顶点出发,将这条路走完时,会返回到上一个节点,看他是否还有其他的子节点,如果有就继续往下遍历,如果没有就继续返回到 ...
分类:
其他好文 时间:
2021-06-19 18:51:41
阅读次数:
0
https://ac.nowcoder.com/acm/contest/11212/E #include<bits/stdc++.h> using namespace std; // define a point class to store a point class Point { public ...
分类:
其他好文 时间:
2021-06-19 18:50:57
阅读次数:
0
生产者-消费者ArrayBlockingQueue是一个实现了BlockingQueue接口的类,其可以很方便的实现生产者-消费者模式。用法如下: class Producer implements Runnable { private final BlockingQueue queue; Prod ...
分类:
其他好文 时间:
2021-06-19 18:48:33
阅读次数:
0
[SUCTF 2019]EasyWeb 知识点: 无数字字母shell 利用.htaccess上传文件 绕过open_basedir 绕过exif_imagetype()函数 也就是将检查我们上传的文件,并返回一个常量,否则返回false,那我们要让.htaccess文件绕过它,就要针对它的检测特性 ...
分类:
Web程序 时间:
2021-06-19 18:46:53
阅读次数:
0
好像还没有人写题解鸭,那我就来写(shui)一篇吧。 求最多能钓到多少鱼,容易想到贪心。 先把时间的单位换成时间片。 因为不知道终点在哪所以我们可以枚举终点。 枚举完之后花在路上的时间就确定了,直接减去即可。 然后我们在所有湖能钓到的鱼中贪心选最大值,选完之后再把这个湖能钓到的鱼的数量减去$d[i] ...
分类:
其他好文 时间:
2021-06-19 18:45:27
阅读次数:
0
表单标签 为什么需要表单 最大的特点就是注册信息,为了收集信息。 表单的组成 在html中完整的表单通常需要3个部分组成,表单域、表单控件(也称作为表单元素)和提示信息 表单域 <form></form>标签是用于定义表单域。 form会把范围内的表单元素信息提交给服务器。 <form action ...
分类:
其他好文 时间:
2021-06-19 18:43:58
阅读次数:
0
from turtle import * def square(size=50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) for ...
分类:
其他好文 时间:
2021-06-18 20:05:27
阅读次数:
0
刚开始并没有接触到层叠轮播图,拿到这个案列的时候特意查阅了一下资料,发现previousmargin和nextmargin可以试下层叠效果,就尝试着用了一下。 微信小程序XX.wxml下 <view class="banner-swiper"> <swiper indicator-dots="{{i ...
分类:
微信 时间:
2021-06-18 20:03:57
阅读次数:
0