水题~ const int N=25; char g[N][N]; bool vis[N][N]; int n,m; PII st; bool check(int x,int y) { return x>=0 && x<n && y>=0 && y<m; } int bfs() { queue<PI ...
分类:
其他好文 时间:
2020-12-24 12:06:48
阅读次数:
0
简单线段树操作 咕咕咕 Transformation HDU - 4578 vj talk is cheap, chow the code. #include <iostream> #include <cstring> using namespace std; typedef long long l ...
分类:
其他好文 时间:
2020-12-23 12:30:38
阅读次数:
0
出现了这个错误,原因是内层select语句带有limit子句。 原来的sql为: SELECT uid, open_acc_status, open_acc_time, mobile_num, email, reg_type FROM UserInfo WHERE uid IN (SELECT ui ...
分类:
数据库 时间:
2020-12-23 11:51:30
阅读次数:
0
self.conv1 = tf.keras.layers.Conv2D(filter_num, (3, 3), strides=stride, padding='same',kernel_initializer=tf.keras.initializers.he_normal(stddev=0.02) ...
分类:
其他好文 时间:
2020-12-21 12:11:01
阅读次数:
0
Problem Description Given a nn matrix Cij (1<=i,j<=n),We want to find a nn matrix Xij (1<=i,j<=n),which is 0 or 1. Besides,Xij meets the following con ...
分类:
其他好文 时间:
2020-12-21 12:00:49
阅读次数:
0
loop脚本 @title z_loop @echo off rem set times=8 rem set num=1 set /a times+=1 :loop if not %num% == %times% ( @echo on rem begin rem write here that ne ...
分类:
其他好文 时间:
2020-12-21 11:58:46
阅读次数:
0
进程之间共享数据(数值型): import multiprocessing def func(num): num.value=10.78 #子进程改变数值的值,主进程跟着改变 if __name__=="__main__": num=multiprocessing.Value("d",10.0) # ...
分类:
编程语言 时间:
2020-12-19 13:21:40
阅读次数:
1
import turtle def drawTriangle(num,len,flag):#flag用来调整画三角形的方向 flag*=-1 len/=2 if(num==1): if(flag==1): turtle.left(60) turtle.fd(len) turtle.right(120 ...
分类:
其他好文 时间:
2020-12-19 12:32:01
阅读次数:
1
生命周期:类的加载->连接->初始化->使用->卸载 一、类的加载 查找并加载类的二进制数据(class文件) 硬盘上的class文件加载到JVM内存中 二、连接 1.验证 .class文件正确性校验 2.准备 static静态变量分配内存,并附初始化默认值 static int num = 10; ...
分类:
其他好文 时间:
2020-12-18 12:43:24
阅读次数:
2
num_labels = self.config.relation_num bert_config_file = self.config.bert_config_file bert_config = BertConfig.from_json_file(bert_config_file) model ...
分类:
其他好文 时间:
2020-12-18 12:37:56
阅读次数:
2