摘要: a = (a+b)-(b=a);//bingo 来自小猿的一时兴起,仅供娱乐~ 阅读全文
posted @ 2018-12-06 21:14 Moliay 阅读(1) 评论(0) 推荐(0) 编辑
摘要: PS:①小陌笔记中蓝色紫色等一切花哨字体皆用来引入知识点(废话流),可忽略不计 。 ②黑字正文小陌竭力向言简意赅靠近再靠近。 ③红色字体小陌觉得重要的地方 老规矩,题目引入: int a = 1; int b = 2; System.out.println(++a == 1 && ++b == 2) 阅读全文
posted @ 2018-12-06 20:40 Moliay 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 猿兄请看下面的代码: short s=1; s = s + 1; short s = 1; s+ = 1; 也许有的猿兄会觉得木得问题,两个小儿科; 也许有的猿兄觉得俩都会报错,因为损失精度的情况下需要强转; 其实第一个确实没有什么门道,强转而报错 但是看似等价的第二段代码是可以通过编译正常运行的~ 阅读全文
posted @ 2018-12-06 18:20 Moliay 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The an 阅读全文
posted @ 2018-12-06 12:05 Moliay 阅读(2) 评论(0) 推荐(0) 编辑