1 2 3 4 5 ··· 9 下一页
摘要: N进程M资源死锁问题_n个进程共享m个资源公式_Rqff的博客-CSDN博客 阅读全文
posted @ 2023-09-09 09:48 TCcjx 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ``` #include #include #define INIT_SIZE 100 #define INCRE_SIZE 10 typedef int ElemType; typedef struct SqList //1.顺序表的动态存储 { ElemType *pList; int leng 阅读全文
posted @ 2023-08-25 17:14 TCcjx 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ``` #include using namespace std; /*求解完数,数字的因数等于该数字,2-20000*/ int main() { int num = 0; for(int i =2;i<=20000;i++){ int x = i,sum=0; for(int j=1;j<x;j 阅读全文
posted @ 2023-08-23 19:49 TCcjx 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ``` #include #include using namespace std; int main() { int num = 0,count=0,sum = 0; cin >> num; int x = num; while(x!=0){ x=x/10; count++; } x= num; 阅读全文
posted @ 2023-08-23 19:40 TCcjx 阅读(4) 评论(0) 推荐(0) 编辑
摘要: ``` #include #include using namespace std; /*判断素数*/ int isprime(int number) { if(number> number; if(isprime(number)){ cout << "the number is prime"<< 阅读全文
posted @ 2023-08-23 19:33 TCcjx 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import numpy as np def convert_bbox2labels(bboxes): """ :param bboxes:(N,5)的bbox信息列表 :return:(30,7,7)的yolov1格式的label,需要将(cls_index,dx,dy,dw,dh)转换成(cx, 阅读全文
posted @ 2022-12-29 21:47 TCcjx 阅读(211) 评论(0) 推荐(0) 编辑
摘要: import os import cv2 import numpy as np import matplotlib.pyplot as plt from shapely.geometry import LineString def plot_img_with_label(imgdir = None, 阅读全文
posted @ 2022-12-28 20:06 TCcjx 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 一、星期的英文 星期一:Monday,缩写为Mon. 星期二:Tuesday,缩写为Tues. 星期三:Wednesday,缩写为Wed. 星期四:Thursday,缩写为Thur./Thurs. 星期五:Friday,缩写为Fri. 星期六:Saturday, 缩写为Sat. 星期日:Sunday 阅读全文
posted @ 2022-12-06 20:38 TCcjx 阅读(22) 评论(0) 推荐(0) 编辑
摘要: import csv import matplotlib.pyplot as plt from datetime import datetime plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.uni 阅读全文
posted @ 2022-11-20 16:24 TCcjx 阅读(256) 评论(0) 推荐(0) 编辑
摘要: import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unicode_minus']=False #用来正常显示负号 in_value = [ 阅读全文
posted @ 2022-11-18 17:53 TCcjx 阅读(19) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 9 下一页