sean

厚积薄发,坚持到最后一分钟。

2018年11月27日

java-----任意进制间的转换

摘要: public class Main { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("十进制转换到其它进制:"); int x = 123 ; String str1 ... 阅读全文

posted @ 2018-11-27 11:25 Sean521 阅读(406) 评论(0) 推荐(0)

idea快捷键列表

摘要: 转自:https://www.cnblogs.com/zhangpengshou/p/5366413.html 阅读全文

posted @ 2018-11-27 11:14 Sean521 阅读(266) 评论(0) 推荐(0)

java输出格式-----System.out.printf()

摘要: package com.lzc.test; public class Main { public static void main(String[] args) { // 定义一些变量,用来格式化输出。 double d = 345.678; String s = "你好!"; ... 阅读全文

posted @ 2018-11-27 10:34 Sean521 阅读(3807) 评论(0) 推荐(0)

入门训练 Fibonacci数列

摘要: 问题描述 Fibonacci数列的递推公式为:Fn=Fn-1+Fn-2,其中F1=F2=1。 当n比较大时,Fn也非常大,现在我们想知道,Fn除以10007的余数是多少。 Fibonacci数列的递推公式为:Fn=Fn-1+Fn-2,其中F1=F2=1。 当n比较大时,Fn也非常大,现在我们想知道, 阅读全文

posted @ 2018-11-27 10:18 Sean521 阅读(324) 评论(0) 推荐(0)

导航