摘要: /* C++ string内部似乎还是char数组?末尾是'\0',str[length()]不会抛异常。 */ 我的代码: 最快代码: 阅读全文
posted @ 2018-04-19 22:37 苛性氢 阅读(713) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-04-19 11:40 苛性氢 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 不同的字母数是否相等。 阅读全文
posted @ 2018-04-19 10:51 苛性氢 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 我的代码: 一开始24ms,加了关闭同步后12ms。超越96%的代码。 别人的代码: 5ms。 阅读全文
posted @ 2018-04-19 10:49 苛性氢 阅读(108) 评论(0) 推荐(0) 编辑