简介 简单题, 按照正常人的思路即可 code C++代码写复杂了, 应该, 补0的话可以省去判断谁是长字符串谁是短字符串 class Solution { public: string addStrings(string num1, string num2) { reverse(num1.begi ...
分类:
其他好文 时间:
2021-05-24 12:50:46
阅读次数:
0
#Swagger 号称世界上最流行的Api框架; RestFul Api文档在线自动生成工具=>Api文档与API定义同步更新 直接运行,可以在线测试API接口 支持多种语言:(Java,Php...) Swagger官网 在项目中使用Swagger需要springbox: swagger2 ui ...
分类:
其他好文 时间:
2021-05-24 12:50:24
阅读次数:
0
jsoncpp是一个用于操作json数据的C++开源库 代码地址:https://github.com/open-source-parsers/jsoncpp 使用文档:http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.h ...
分类:
Web程序 时间:
2021-05-24 12:49:23
阅读次数:
0
算法代码 C#代码 using System; namespace Prim { class Program { static void Main(string[] args) { int numberOfVertexes = 9, infinity = int.MaxValue; int[][] ...
分类:
编程语言 时间:
2021-05-24 12:41:56
阅读次数:
0
1.第三方提供了这么一个API接口,POST后将附件以file文件上传,通过postman工具界面是下面这种样子 Body为form-data类型,不管是文本还是文件,都能在value上填上去 2.C#实现接口调用代码 public static string PostForm(string url ...
现实中打牌 接收到新牌后在已有的牌里面进行排序,然后找到属于自己的位置进行插入: 手中的牌永远是有序的 Code package kb.algorithm; public class InsertionSort { public static void main(String[] args) { i ...
分类:
编程语言 时间:
2021-05-24 12:38:02
阅读次数:
0
public static void main(String args[]) { try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { i ...
分类:
编程语言 时间:
2021-05-24 12:36:02
阅读次数:
0
数据 同时存在多种数据类型,如 data.txt 5.1,3.5,1.4,0.2,Iris-setosa 4.9,3.0,1.4,0.2,Iris-setosa 5.8,2.7,4.1,1.0,Iris-versicolor 6.2,2.2,4.5,1.5,Iris-versicolor 6.4,3 ...
分类:
其他好文 时间:
2021-05-24 12:29:01
阅读次数:
0
client #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <time.h> #include <arpa/inet.h> #include <sys/socket.h> ...
分类:
其他好文 时间:
2021-05-24 12:27:36
阅读次数:
0
此博客链接: 检查两个字符串是否相等 题目链接:https://leetcode-cn.com/problems/check-if-two-string-arrays-are-equivalent/ 题目 给你两个字符串数组 word1 和 word2 。如果两个数组表示的字符串相同,返回 true ...
分类:
其他好文 时间:
2021-05-24 12:06:21
阅读次数:
0