1.效果图 2.创建显示框 <style> img[src=""],img:not([src]){ opacity:0; } </style> <body> <! 创建悬浮框--> <img id="s" src="" style="width: 300px; height: 300px;"> </ ...
分类:
其他好文 时间:
2021-03-17 14:31:09
阅读次数:
0
进入IDEA 的工具下会发现有四个选项 其中第一个就是创建一个新的Java工程 第二个是导入一个工程 第三个是打开一个已有工程比如打开Eclipse项目 check out from version control 通过服务器的项目地址导入项目,可以是gethub上的项目 同时需要说明IDEA的项目 ...
分类:
其他好文 时间:
2021-03-17 14:09:51
阅读次数:
0
类型转换 public class 类的转换 { public static void main(String[] args) {? /*类型转换 低 高 byte,short,char-int-long-float-double 高到低强制转换,低到高自动转换 */? //强制转换? int a ...
分类:
其他好文 时间:
2021-03-16 14:07:25
阅读次数:
0
Java入门及环境搭建 一、Java基本概念 Java开发环境 JVM:Java Virtual Machine(Java虚拟机) ? 源文件(myProgram.java)→编译器(Compiler) →字节码文件(myProgram.class)→解释器(Interpreter)→程序 JRE: ...
分类:
编程语言 时间:
2021-03-16 13:46:49
阅读次数:
0
np.choose(a, choices, out=None, mode='raise'):按照序号a对choices中的数进行选择。 a: index array,其中的数必须是整数 mode=‘raise’,表示a中数必须在[0,n-1]范围内 mode=‘wrap’,a中数可以是任意的整数(s ...
分类:
其他好文 时间:
2021-03-16 13:42:32
阅读次数:
0
font2 = {'family': 'Times New Roman', 'weight': 'normal', 'size': 12, } ax.legend(loc='lower center', bbox_to_anchor=(0.5, 1), fancybox=True, shadow=T ...
分类:
其他好文 时间:
2021-03-16 12:03:49
阅读次数:
0
DP——数字三角形模型 0. 数字三角形 题目地址: 题目思路: 二维基础DP,每个 \(f[i,j]\) 都是从 \(f[i-1,j-1]\) 和 \(f[i-1,j]\) 转移过来,取 \(max\) ,最后循环最下层,取 \(max\) 即为答案 代码: #include<iostream> ...
分类:
其他好文 时间:
2021-03-16 11:57:25
阅读次数:
0
Java基础语法 标识 单行标注 // 多行标注 /* */ 多做标注 关键字 public class Demo02 { public static void main(String[] args) { String ab="c"; System.out.print(ab); } } 注意语法中符 ...
分类:
编程语言 时间:
2021-03-16 11:57:10
阅读次数:
0
public class SimpleExpressDemo02 { public static void main(String[] args) { int a=10,b=6; System.out.println("改变之前的数是:a=" + a + ",b=" + b); a-=b++; // ...
分类:
其他好文 时间:
2021-03-16 11:51:45
阅读次数:
0
在类成员函数中如何调用pthread_create()呢? #incldue <pthread.h> int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), v ...
分类:
编程语言 时间:
2021-03-16 11:47:13
阅读次数:
0