07 2018 档案
摘要:1 import java.util.Arrays; 2 3 /** 4 * Created by Stefango at 9:54 on 2018/7/22 5 */ 6 public class Solution { 7 public static int[][] transpose(int[][] A) { 8 int R = A.length...
阅读全文
摘要:如果你希望你的字符串以’\0‘结束,那么你可以这样做: 注:当出现以下情况时,会发生'\0'丢失 使用函数strlen()求某个字符串的长度时是不包括结尾标志符'\0'的,但当你用sizeof()求某个字符串占用的内存空间时,结尾字符'\0'是被包括在里面的。 参考: 1.http://www.cn
阅读全文
摘要:文件编码: settings -> editor -> general setting -> other setting ->encoding此处默认WINDOWS-936(即GBK) 编译编码: settings -> compiler -> global compiler settings ->
阅读全文
摘要:参考:http://www.w3school.com.cn/cssref/pr_text-shadow.asp 示例:http://www.w3school.com.cn/tiy/c.asp?f=css_text-shadow&p=11
阅读全文