KY111 日期差值
//分别求出每一个日期与0000年0月1日距离的天数
//两个距离天数相减即可得到两个日期相差的天数
int mon[12] { 0,31,59,90,120,151,181,212,243,273,304,334 };
int CountDay(int y, int m, int d)
{//x-y-z:算出x年之前有多少天 算出y月之前有多少天//格里…
效果 耗时
Preprocess: 1.41ms
Infer: 4.38ms
Postprocess: 0.03ms
Total: 5.82ms
项目 代码
using OpenCvSharp;
using Sdcb.OpenVINO;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using Syste…