``````/货币元转换为分*/publicstaticLongformatMoney(Strings){if(s.contains(".")){intindex=s.indexOf(".");Stringsub1=s.substring(0,index);Stringsub2=s.substring(index+1);if(sub2.length()>
分类:
其他好文 时间:
2020-08-05 16:56:47
阅读次数:
81
Python很适合初学者自学的编程语言,试着从“HelloWorld”开始,你会发现Python适合自学成才。作者:SOWORD科技言来源:今日头条|2020-08-0408:42收藏分享Python很适合初学者自学的编程语言,试着从“HelloWorld”开始,你会发现Python适合自学成才。在你慢慢熟悉Python那一刻,你很快被它通过各种方法来实现类似用途的适应性所着迷。Python可以编
分类:
编程语言 时间:
2020-08-05 10:36:29
阅读次数:
79
GNU开发工具——GNUBinutils快速入门一、GNUBinutils简介GNUBinutils(GNU二进制工具集),即GNUBinaryUtilities,是一套用于创建、管理和维护二进制目标文件的工具集合,包括addr2line、ar、gprof、nm、objcopy、objdump、ranlib、size、strings、strip。Binutils官网地址:https://www.g
分类:
其他好文 时间:
2020-08-03 09:46:54
阅读次数:
74
简介 Redis 是一款开源非关系型(NoSQL)数据库,遵守BSD协议,Key-Value数据结构,Redis支持持久化,数据持久化时数据存储在磁盘中,有着高性能的读写效率。 特点: 1、Redis支五种数据类型:Strings(字符串)、Lists(列表)、Hashes(哈希)、Sets(集合) ...
分类:
其他好文 时间:
2020-07-30 01:13:05
阅读次数:
56
Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings. You need to h ...
分类:
其他好文 时间:
2020-07-29 15:41:09
阅读次数:
86
power_two.cpp内容如下: #include <iostream> using namespace std; bool is_power_of_two(unsigned int n) { return (n && !(n & (n-1))); } int main(int argc, ch ...
分类:
其他好文 时间:
2020-07-29 15:07:26
阅读次数:
62
安装说明文档下载docker for windows 网上大片的教程 就不说了 安装完之后,为了下载docker images速度快一点可以使用阿里云的镜像加速,免费的,很实用,然后打开docker 第一次启动比较慢。 打开之后 右下角任务栏中 docker图标 右键setting docker e ...
容器 简介 Swoft 基于 PSR-11 规范设计了自己容器,并基于 注解 增强了它的功能。容器是 Swoft 最重要的设计,称得上是 Swoft 的核心精髓,也是 Swoft 各模块的实现基础。本章节将会对容器的相关基础知识做一个介绍,以便大家更好的理解容器。 前置知识 - IoC IoC 即控 ...
分类:
Web程序 时间:
2020-07-28 17:03:05
阅读次数:
89
Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = "sea", s2 = "eat" Output: ...
分类:
其他好文 时间:
2020-07-28 14:45:21
阅读次数:
310
Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one cha ...
分类:
其他好文 时间:
2020-07-28 14:04:15
阅读次数:
77