码迷,mamicode.com
首页 >  
搜索关键字:string 查找替换    ( 95834个结果
leetcode 415 字符串相加
简介 简单题, 按照正常人的思路即可 code C++代码写复杂了, 应该, 补0的话可以省去判断谁是长字符串谁是短字符串 class Solution { public: string addStrings(string num1, string num2) { reverse(num1.begi ...
分类:其他好文   时间:2021-05-24 12:50:46    阅读次数:0
Swagger的学习
#Swagger 号称世界上最流行的Api框架; RestFul Api文档在线自动生成工具=>Api文档与API定义同步更新 直接运行,可以在线测试API接口 支持多种语言:(Java,Php...) Swagger官网 在项目中使用Swagger需要springbox: swagger2 ui ...
分类:其他好文   时间:2021-05-24 12:50:24    阅读次数:0
jsonCPP
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
普里姆算法(Prim)邻接矩阵法
算法代码 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
C# Body为form-data file文件上传至第三方接口
1.第三方提供了这么一个API接口,POST后将附件以file文件上传,通过postman工具界面是下面这种样子 Body为form-data类型,不管是文本还是文件,都能在value上填上去 2.C#实现接口调用代码 public static string PostForm(string url ...
分类:Windows程序   时间:2021-05-24 12:41:36    阅读次数:0
插入排序
现实中打牌 接收到新牌后在已有的牌里面进行排序,然后找到属于自己的位置进行插入: 手中的牌永远是有序的 Code package kb.algorithm; public class InsertionSort { public static void main(String[] args) { i ...
分类:编程语言   时间:2021-05-24 12:38:02    阅读次数:0
javax.swing自带的几种显示风格.使用LookAndFeelInfo查看
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
numpy.loadtxt读取文本文件
数据 同时存在多种数据类型,如 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
tcp raw socket
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
95834条   上一页 1 ... 39 40 41 42 43 ... 9584 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!