<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>轮播图</title> <style> * { margin: 0; padding: 0; } #outer { width: 520px; height: ...
分类:
Web程序 时间:
2021-04-06 14:15:33
阅读次数:
0
前言 有时需要加密保存数据,但是我不会用AES……所以选择了更简单的异或加密。 解决方案 public static String xor(String data, String password) { //异或加密 byte b1[] = data.getBytes(); byte b2[] = ...
分类:
编程语言 时间:
2021-04-06 14:14:59
阅读次数:
0
题意:求无向图去掉每一条边后的两两最短路之和 非标解 之前见过去掉每个点的两两最短路的问题,用的区间分治+Floyed,我想着边的也可以试一试,结果就过了。。。 设g(l,r)表示除了[l,r]区间内的边都加上了的情况下的两两最短路矩阵,那么有递推式$\left\{\begin{matrix}\be ...
分类:
其他好文 时间:
2021-04-06 14:09:28
阅读次数:
0
1 package Six_CompletionService_Exception_Demo; 2 3 import java.util.concurrent.Callable; 4 5 public class MyCallableA implements Callable<String> { 6 ...
分类:
其他好文 时间:
2021-04-05 12:43:29
阅读次数:
0
Description: Given a string s and a string array dictionary, return the longest string in the dictionary that can be formed by deleting some of the gi ...
分类:
其他好文 时间:
2021-04-05 12:21:20
阅读次数:
0
[logging日志模块] 日志级别 CRITICAL = 50 # 严重 critical FATAL = CRITICAL ERROR = 40 # 错误 error WARNING = 30 # 警告 warning WARN = WARNING INFO = 20 # 消息 info DEB ...
分类:
其他好文 时间:
2021-04-05 12:03:28
阅读次数:
0
##引言 Java 注解(Annotation)又称 Java 标注,是 JDK5.0 引入的一种注释机制。 Java 语言中的类、方法、变量、参数和包等都可以被标注。和 Javadoc 不同,Java 标注可以通过反射获取标注内容。在编译器生成类文件时,标注可以被嵌入到字节码中。Java 虚拟机可 ...
分类:
编程语言 时间:
2021-04-05 11:51:15
阅读次数:
0
解题思路: 栈是先进后出,队列是先进先出 # -*- coding:utf-8 -*- class Solution: # 初始化栈为空列表 def __init__(self): self.acceptStack=[] self.outputStack=[] def push(self, node ...
分类:
其他好文 时间:
2021-04-02 13:32:05
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<cstring> typedef int SLDataType; typedef struct SeqList { SLDataType* _data;/*需要动态开辟的数组*/ size_t _size;/ ...
分类:
其他好文 时间:
2021-04-02 13:28:47
阅读次数:
0
https://www.yiibai.com/postgresql/ PostgreSQL教程 https://www.yiibai.com/postgresql/postgresql_c_cpp.html C/C++连接PostgreSQL数据库 https://www.jianshu.com/p ...
分类:
数据库 时间:
2021-04-02 13:25:24
阅读次数:
0