一篇很不错的关于fat jar 的文章,参考资料https://product.hubspot.com/blog/the-fault-in-our-jars-why-we-stopped-building-fat-jars HubSpot’s backend services are almost ...
分类:
编程语言 时间:
2020-10-21 21:03:47
阅读次数:
25
1 #include<bits/stdc++.h> 2 void quickSort(int a[],int first,int end) 3 { 4 if(first==end) return; 5 int i = first,j = end,temp; 6 while(i<j){ 7 while ...
分类:
编程语言 时间:
2020-10-20 16:26:37
阅读次数:
21
import random #把random模块调用出来 age = random.randint(10,25)#用rand.randint制造一个随机数表 count = 0 while count < 3:#共有三次机会 n = int(input('Guess the age:'))#输入用户 ...
分类:
编程语言 时间:
2020-10-19 22:35:39
阅读次数:
23
#include <iostream> #include <cstring> using namespace std; char a[260]; int main() { int len,k; cin>>a; cin>>k; len=strlen(a); while(k--) { for(int i ...
分类:
其他好文 时间:
2020-10-19 22:33:48
阅读次数:
21
循环结构 循环结构: 重复执行特定语句 循环结构分类 for循环 while循环 3.do...while循环 1.for循环 1.1 语法: for(初始条件语句;终止条件语句;迭代条件语句){ 循环执行体 } 1.2 执行过程 (1) 初始化条件表达式 (2)判断循环表达式 (3)成立则执行条件 ...
分类:
编程语言 时间:
2020-10-19 22:33:00
阅读次数:
18
先序遍历 Stack<TreeNode> stk = new Stack<>(); stk.push(root); while (!stk.empty()) { TreeNode cur = stk.pop(); if (cur != null) { // visit cur stk.push(cu ...
分类:
其他好文 时间:
2020-10-19 22:18:07
阅读次数:
24
简介 java 基础数据结构 SET, java核心编程 统计不同的字符串 code import java.util.HashSet; import java.util.Iterator; import java.util.Scanner; import java.util.Set; public ...
分类:
编程语言 时间:
2020-10-18 16:16:23
阅读次数:
17
1 #pragma once 2 #include <initializer_list> 3 struct String { 4 String(const char*s) { 5 c_str = new char[strlen(s)+1]; 6 while (*s) { 7 *(c_str+sz) ...
分类:
其他好文 时间:
2020-10-18 10:09:18
阅读次数:
18
要求: 代码示例: import java.util.Random;import java.util.Scanner; import javax.script.ScriptEngine;import javax.script.ScriptEngineManager;import javax.scri ...
分类:
其他好文 时间:
2020-10-18 10:04:51
阅读次数:
16