「图论」第4章 强连通分量课堂过关 A. 【例题1】有向图缩点 题目 代码 #include <iostream> #include <cstdio> #include <cstring> #include <queue> using namespace std; #define N 10010 # ...
分类:
其他好文 时间:
2021-05-23 23:52:43
阅读次数:
0
command+shift+P,然后键入:go:install/update tools,将所有 16 个插件都勾选上,然后点击 OK 即开始安装 go env -w GOPROXY=https://goproxy.io go切换proxy中国代理 GO111MODULEGO111MODULE 有三 ...
分类:
编程语言 时间:
2021-05-23 23:30:42
阅读次数:
0
简介 CAS的全称是compare and swap,它是java同步类的基础,java.util.concurrent中的同步类基本上都是使用CAS来实现其原子性的。 CAS的原理其实很简单,为了保证在多线程环境下我们的更新是符合预期的,或者说一个线程在更新某个对象的时候,没有其他的线程对该对象进 ...
分类:
其他好文 时间:
2021-05-03 12:24:38
阅读次数:
0
一、概述 wsgi服务启动并监听http请求的流程: 1.利用paste.deploy模块的loadapp函数加载指定服务(如proxy)的配置文件,获取到用户的application,即业务程序 2.调用wsgi.server,其中wsgi.server会绑定IP和端口,监听来自客户端的消息。并由 ...
分类:
Web程序 时间:
2021-05-03 12:19:48
阅读次数:
0
#include<stdio.h> void fun(int n); int main(){ int n; long long f; while(scanf("%d", &n)!=EOF){ fun(n); } return 0; } void fun(int n){ int f[505],a[50 ...
分类:
其他好文 时间:
2021-04-30 12:29:16
阅读次数:
0
编译的过程中出现了一个吓人的错误: GOROOT=C:\Go #gosetup GOPATH=C:\Users\ahfuzhang\go #gosetup C:\Go\bin\go.exe mod tidy #gosetup go: downloading github.com/xxx/my_prj ...
分类:
其他好文 时间:
2021-04-29 11:53:31
阅读次数:
0
拼接字符串 1.CONCAT(s1,s2...sn) 字符串 s1,s2 等多个字符串合并为一个字符串。 SELECT CONCAT("str1", "str2") AS str; + + | str | + + | str1str2 | + + 2.CONCAT_WS(x, s1,s2...sn) ...
分类:
数据库 时间:
2021-04-28 12:13:16
阅读次数:
0
#include <iostream>#include <cstdlib>#include <ctime>using namespace std;int main(){ int num1,num2,op,result1,result2; //num1,num2:操作数;op:运算符;result1, ...
分类:
其他好文 时间:
2021-04-28 12:11:52
阅读次数:
0
顺序结构 Java的基本结构就是顺序结构 语句和语句之间,如没有明确要求,它会从上到下依次执行。 顺序结构是最简单的算法结构。 选择结构 if else if单选 if(true|false){ //如果布尔值为true则执行,如false就跳过选择结构 } equals//字符串判断相当于strc ...
分类:
编程语言 时间:
2021-04-26 13:45:58
阅读次数:
0
proxy_set_header client_body_buffer_size proxy_connect_timeout 代理和real 的超时 proxy_send_timeout proxy_read_timeout proxy_buffer_size proxy_buffers ...
分类:
其他好文 时间:
2021-04-26 13:41:48
阅读次数:
0