摘要: import java.util.Scanner; class Main { public static void main(String[] args){ int countOf0 = 0; int countOf1 = 0; for(int i = 0; i < 1000_000; i++){ 阅读全文
posted @ 2022-05-27 16:16 Scenery_Shelley 阅读(225) 评论(0) 推荐(0)
摘要: 十进制转二进制 import java.util.Scanner; class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); int numberNotChange = 0 阅读全文
posted @ 2022-05-27 15:24 Scenery_Shelley 阅读(35) 评论(0) 推荐(0)
摘要: 1. 在线编辑公式 在线LaTeX公式编辑 2. 得到MathML <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mfrac><mn>1</mn><mrow><mn>1</mn><mo>+</mo><msqrt 阅读全文
posted @ 2022-05-27 14:06 Scenery_Shelley 阅读(85) 评论(0) 推荐(0)
摘要: 找出1-10,000 之间的四个完全数 比如:6 = 1+2+3 28 = 1+2+4+7+14 import java.util.*; class Main { public static void main(String[] args){ for(int i = 1; i <= 10_000; 阅读全文
posted @ 2022-05-27 11:33 Scenery_Shelley 阅读(48) 评论(0) 推荐(0)
摘要: 取值范围: [0,1) 阅读全文
posted @ 2022-05-27 11:19 Scenery_Shelley 阅读(60) 评论(0) 推荐(0)
摘要: 复利值 每月存100,年利率5%,存6个,月帐面价值多少? import java.util.*; class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); System 阅读全文
posted @ 2022-05-27 11:13 Scenery_Shelley 阅读(54) 评论(0) 推荐(0)