摘要: add cmd_Administrator.reg Windows Registry Editor Version 5.00 ; Created by: bors ; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command- 阅读全文
posted @ 2020-08-07 12:53 BORS 阅读(128) 评论(0) 推荐(0)
摘要: MYSQL5: DRIVER:com.mysql.jdbc.Driver URL :jdbc:mysql://127.0.0.1:3306/bors?characterEncoding=utf8&useUnicode=true MYSQL6+: DRIVER:com.mysql.cj.jdbc.Dr 阅读全文
posted @ 2020-07-26 11:35 BORS 阅读(264) 评论(0) 推荐(0)
摘要: 设置后的效果: 设置方法 ctrl +Alt+S 打开设置 版本信息: 阅读全文
posted @ 2020-07-17 09:59 BORS 阅读(2604) 评论(0) 推荐(0)
摘要: IDEA2020 最新激活 直接上材料,废话不多说。 1.下载最新 agent.jar https://lanzous.com/b0f1c6hzc 2. 自行下载最新IDEA2020 https://www.jetbrains.com/idea/download/#section=windows 3 阅读全文
posted @ 2020-07-08 16:49 BORS 阅读(836) 评论(1) 推荐(0)
摘要: public class Hello{ public static void main(String[] args) { System.out.println("Hello World!"); for (int i = 0; i < 10; i++) { for (int k = 0; k < i; 阅读全文
posted @ 2020-06-30 10:39 BORS 阅读(119) 评论(0) 推荐(0)
摘要: What is the sum of the digits of the number 21000 public static int sumDigits(int n) { int int_retVal = 0; int int_pow = (int) Math.pow(2, n); String 阅读全文
posted @ 2020-06-24 17:23 BORS 阅读(306) 评论(0) 推荐(0)
摘要: LocalDateTime <=> String //时间转字符串格式化 DateTimeFormatter df1 = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS"); String dateTime = LocalDateTime.n 阅读全文
posted @ 2020-06-24 17:20 BORS 阅读(288) 评论(0) 推荐(0)
摘要: 已知 a^2+b^2=c^2(a,b,c 为自然数,a<b<c),且a+b+c=1000,求abc的值? public static int getABC() { int resVal = 1; for (int a = 0; a <= 1000; a++) { for (int b = 1; b 阅读全文
posted @ 2020-06-24 14:47 BORS 阅读(639) 评论(0) 推荐(0)
摘要: *公共汽车上的人数 *城市里有一辆公共汽车在行驶,每一个公共汽车站都要接送一些人。 *将为您提供整数数组(或元组)的列表(或数组)。每个整数数组有两个项,分别表示公共汽车站上车人数(第一项)和下车人数(第二项)。 *您的任务是返回最后一个公共汽车站(最后一个数组之后)之后仍在公共汽车上的人数。即使这 阅读全文
posted @ 2020-06-23 17:53 BORS 阅读(313) 评论(0) 推荐(0)
摘要: 从数字字符串中找到最大值和最小值 /** * find the max and min from String */ public static String highAndLow(String numbers) { String retStr = ""; String[] strAry = num 阅读全文
posted @ 2020-06-23 17:42 BORS 阅读(1174) 评论(0) 推荐(0)
bors