添加全局样式: .el-message-box__btns .el-button:first-child { transform: translateX(66px); } .el-message-box__btns .el-button:last-child { transform: transla ...
分类:
其他好文 时间:
2021-03-09 13:30:14
阅读次数:
0
包装类 基本数据类型所对应的引用数据类型 0bject可统一所有数据,包装类的默认值是null 包装类对应 基本数据类型 包装类型 byte Byte short Short int Integer long Long float Float double Double boolean Boolea ...
分类:
其他好文 时间:
2021-03-08 14:18:04
阅读次数:
0
类别 检查项 检查结果 代码 Readability 通过 Duplicated Code 通过 Hard Coding 通过 Long Method(100行) 通过 Long Parameter List(最多4个) 通过 Large Class 通过 Switch Statement 通过 L ...
分类:
其他好文 时间:
2021-03-08 14:04:45
阅读次数:
0
背景 环境:Win10 IIS 在ArcGIS API for JavaScript移动端开发,需要定位的时候,出现一个问题“GeolocationPositionErrorcode: 2 message: "Network location provider at 'https://www.goo ...
超短文警告! 埃氏筛: #include <iostream> #include <cstring> #include <stdio.h> #define HRiver2 return #define Warma 0 #define ll long long #define maxn 114514 ...
分类:
其他好文 时间:
2021-03-08 13:23:25
阅读次数:
0
注解和反射 注解 什么是注解: Annotation是从JDK5.0开始引入的新技术。 Annotation的作用: 1.不是程序本身,可以对程序作出解释。(这一点和注释(comment)没什么区别)。 2、可以被其他程序(比如:编译器等)读取。 Annotation的格式: 注解是以"@注释名"在 ...
分类:
其他好文 时间:
2021-03-06 15:00:03
阅读次数:
0
Aragorn's Story - 树链剖分 - HDU 3966 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 5e4+5; int n, m, p; char op[5]; in ...
分类:
其他好文 时间:
2021-03-06 14:20:12
阅读次数:
0
A panic should always be a last resort, and even then consider a better option! Logging errors with context (cause and message) Expose errors as metri ...
分类:
其他好文 时间:
2021-03-05 13:31:10
阅读次数:
0
字符计数 #include<stdio.h> int main(){ long nc; nc = 0; while(getchar()!=EOF) ++nc; printf("%ld\n",nc); } 下面是for循环的代码: #include<stdio.h> int main(){ doubl ...
分类:
其他好文 时间:
2021-03-05 13:15:59
阅读次数:
0
B. Berland Crossword \(直接去枚举四个角落,注意枚举的方法,本题如何写的简洁很关键.\) #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0 ...
分类:
其他好文 时间:
2021-03-05 13:15:01
阅读次数:
0