![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
sinat_41859367
这个作者很懒,什么都没留下…
展开
-
Java的输出print()/println()/printf()
java输出包含小数位的double型数据System.out.println("%.4f",d);报错:The method println(double) in the type PrintStream is not applicable for the arguments (String, double)原因:Java的输出中System是java.lang里面的一个类public final class Systemout是System里面的一个静态数据成员 ,out的类型是原创 2020-06-13 14:35:06 · 865 阅读 · 0 评论 -
(LeetCode)数数关系——Non-decreasing Array(非递减数组)
665.Non-decreasing ArrayEasy?!Given an array withnintegers, your task is to check if it could become non-decreasing by modifyingat most1element.We define an array is non-decreasing ifarra...转载 2020-05-29 13:38:43 · 192 阅读 · 0 评论