之前一直没重现本地包内的木兰模块引用,导致提取出的模块只能放在项目根目录下。上周终于搞定。于是将上次的摆放规划应用的源码拆分成几个模块,比如测试/实用/规划/点.ul,在主模块中可以如此引用using点in测试.实用.规划.点。不需要在包中放置类似init.py。其他新添功能字符串拼接时的报错信息(..??_??..)字符串只能拼接字符串,请将"int"先用str()转换见第1行:print("1
分类:
编程语言 时间:
2020-09-02 16:55:38
阅读次数:
46
#include <bits/stdc++.h> #define INF (1<<25) #define MAXN 200005 #define getSZ(p) (p?p->sz:0) #define getSUM(p) (p?p->sum:0) using namespace std; type ...
分类:
其他好文 时间:
2020-08-28 14:34:02
阅读次数:
43
1 /* 2 线性表的排序算法 3 cza 4 2020/7/1 5 */ 6 #include<iostream> 7 #include<stdio.h> 8 int num[100]; 9 using namespace std; 10 11 int getMix(int left,int ri ...
分类:
编程语言 时间:
2020-08-27 17:06:03
阅读次数:
59
最后的输出顺序是1 2 3 5 4 也就是说,在访问每一个顶点的时候,会先对与此顶点有关联的点进行访问,再进行下一个; #include <cstdio> #include <iostream> using namespace std; int main() { int i, j, n, m, a, ...
分类:
其他好文 时间:
2020-08-27 11:49:16
阅读次数:
58
#include<iostream>#include <cstdio>#include <string.h> #include <math.h> using namespace std; int time_value(int h,int m,int s){ return h*3600+m*60+s; ...
分类:
其他好文 时间:
2020-08-26 17:11:16
阅读次数:
41
1.要用到一个类bai:QRCodeEncoder 这个类要添加一个du动态库:ThoughtWorks.QRCode.dll(可以上zhi网搜索) 然后引入命dao名空间:using ThoughtWorks.QRCode.Codec; 也可以直接通过 NuGet包 添加 搜索ThoughtWor ...
1 . 创建Protobuf序列化 工具类ProtobufExchang.cs, 需要添加应用protobuf-net.dll 组件 using ProtoBuf;using System;using System.Collections.Generic;using System.IO;using ...
1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e5+5; 4 bool isprime[maxn]; 5 int prime[maxn]; 6 int mu[maxn]; 7 int cnt=0; 8 void ...
分类:
其他好文 时间:
2020-08-24 16:36:48
阅读次数:
60
1. XML序列化实例演示 using System;using System.Collections.Generic;using System.Diagnostics;using System.IO;using System.Linq;using System.Text;using System. ...
1官方文档:https://docs.spring.io/spring-boot/docs/2.1.0.BUILD-SNAPSHOT/reference/htmlsingle/#using-boot-dectools 点击Developer Tools,复制Maven的依赖包到pom.xml中 2r ...
分类:
编程语言 时间:
2020-08-20 18:45:36
阅读次数:
71