第十三届蓝桥杯JAVAB组国赛部分思路及代码

2023-05-16

JAVA B组参考代码

文章目录

  • **JAVA B组参考代码**
    • **试题 A: 重合次数**
      • **答案:494**
    • **试题 B: 数数**
      • **答案:25606**
    • **试题 C: 左移右移**
      • **思路:**
        • **对于操作从后向前记录,最后操作的肯定是在两端,并对该操作的数进行记录,方便最后保留原来未操作过数的顺序**
      • **参考代码:**
    • **试题 D: 窗口**
      • **思路:**
        • **按照题目描述进行模拟,本人模拟很烂,就不写这题代码了**
    • **试题 E: 迷宫**
      • **思路:**
        • **Map(i,j)表示的含义是从i,j到终点n,n的步数, 根据直接跳跃距离终点(n,n)最近的进行排序,然后判断直接传送后的是否比不用传送小进行更新,然后根据期望的含义进行计算**
      • **参考代码:**
    • **试题 F: 小球称重**
      • **思路:**
        • **本题主要考虑次品比较轻,所以在小于的那部分,其次然后后续根据大于和等于的情况,排除掉不可能的,因为TreeSet可以做到有序,查找和删除可以在log范围内进行,还要考虑一种特别特殊的情况,就是所有都是等于,说明次品在剩下的里面,所以就是n减去出现过的**
      • **参考代码:**
    • **试题 G: 背包与魔法**
      • **思路:**
        • **可以参考01背包的思路,加一维判断是否使用了这个魔法**
      • **参考代码:**
    • **试题H:修路**
      • **思路:**
        • **将各个顶点分为3类,第一类左上角的点,标记为0,a的为1到n,b的为m+(1到n),然后将其建边,主要是一侧的相邻之间进行建边,相对的可以任意两两之间建边,然后跑最小生成树,得到结果**
      • **参考代码:**
    • **试题I:围栏**
      • **计算几何不咋会(弱项)**
    • **试题J: 好数之和**
      • **思路:**
        • **把其他数位进行枚举,然后将其2022插入进去进行判断即可,kkkk枚举的是插入位置,其他是代表其他几位上的数**
      • **参考代码:**

试题 A: 重合次数

答案:494

试题 B: 数数

答案:25606

试题 C: 左移右移

思路:

对于操作从后向前记录,最后操作的肯定是在两端,并对该操作的数进行记录,方便最后保留原来未操作过数的顺序

参考代码:

import java.util.*;
public class Main {
    static int a[]=new int[200005];
    static int vis[]=new int[200005];
    static String op[]=new String[200005];
    static int num[]=new int [200005];
    static int ans[]=new int[200005];
    public static void main(String[] args)  {
        Scanner in = new Scanner(System.in);
        int n,q;
        n=in.nextInt();
        q=in.nextInt();
        for(int i=1;i<=n;i++){
            a[i]=i;
        }
        for(int i=1;i<=q;i++) {
            op[i] = in.next();
            num[i] = in.nextInt();
        }
        int left=1;
        int right=n;
        for(int j=q;j>=1;j--){
            if(op[j].charAt(0)=='L'){
                ans[left]=num[j];
                left++;
                vis[num[j]]=1;
            }
            if(op[j].charAt(0)=='R'){
                ans[right]=num[j];
                right--;
                vis[num[j]]=1;
            }
        }
        for(int i=1;i<=n;i++){
            if(vis[i]==0){
                ans[left]=a[i];
                left++;
            }
        }
        for(int i=1;i<=n;i++){
            if(i==1){
                System.out.print(ans[i]);
            }
            else{
                System.out.print(" "+ans[i]);
            }
        }
        return ;
    }
}

试题 D: 窗口

思路:

按照题目描述进行模拟,本人模拟很烂,就不写这题代码了

试题 E: 迷宫

思路:

Map(i,j)表示的含义是从i,j到终点n,n的步数, 根据直接跳跃距离终点(n,n)最近的进行排序,然后判断直接传送后的是否比不用传送小进行更新,然后根据期望的含义进行计算

参考代码:

import java.util.*;
public class Main {
    static int Map[][]=new int [2005][2005];
    static class node implements Comparable<node>{
        int x1,y1,x2,y2;
        int val;
        @Override
        public int compareTo(node o) {
            return this.val-o.val;
        }
    }
    static node p[]=new node[2005];
    public static void main(String[] args)  {
        Scanner in = new Scanner(System.in);
        int n,m;
        n = in.nextInt();
        m = in.nextInt();
        for(int i = 1; i <= m ; i++ ){
            p[i] = new node();
            p[i].x1 = in.nextInt();
            p[i].y1 = in.nextInt();
            p[i].x2 = in.nextInt();
            p[i].y2 = in.nextInt();
            p[i].val=2*n-p[i].x2-p[i].y1;
        }
        Arrays.sort(p,1,m+1);
        for(int i = 1; i <= n ;i++){
            for( int j =1 ;j <= n;j++){
                Map[i][j]=Math.abs(n-i)+Math.abs(n-j);
            }
        }
        for(int i = 1;i <= m;i++){
            Map[p[i].x1][p[i].y1]=Math.min(Map[p[i].x1][p[i].y1],Map[p[i].x2][p[i].y2]+1);
        }
        double ans=0;
        for(int i = 1; i <= n;i++){
            for(int j=1 ; j <= n;j++){
                ans+=(double)(Map[i][j]);
            }
        }
        System.out.printf("%.2f\n",ans*1.0/(n*n));
        return ;
    }
}

试题 F: 小球称重

思路:

本题主要考虑次品比较轻,所以在小于的那部分,其次然后后续根据大于和等于的情况,排除掉不可能的,因为TreeSet可以做到有序,查找和删除可以在log范围内进行,还要考虑一种特别特殊的情况,就是所有都是等于,说明次品在剩下的里面,所以就是n减去出现过的

参考代码:

import java.util.*;
public class Main {

    public static void main(String[] args)  {
        Scanner in = new Scanner(System.in);
        int n,m;
        n = in.nextInt();
        m = in.nextInt();
        TreeSet<Integer>s=new TreeSet<>();
        TreeSet<Integer>s1=new TreeSet<>();
        int f=0;
        while(m-->0){
            int k = in.nextInt();
            int l[]=new int[k];
            int r[]=new int[k];
            for(int i=0;i<k;i++){
                l[i]=in.nextInt();
                s1.add(l[i]);
            }
            for(int i=0;i<k;i++){
                r[i]=in.nextInt();
                s1.add(r[i]);
            }
            String re=in.next();
            if(re.equals("<")){
                for(int i=0;i<k;i++){
                    s.add(l[i]);
                }
                for(int i=0;i<k;i++){
                    s.remove(r[i]);
                }
                f=1;
            }
            else if(re.equals(">")){
                for(int i=0;i<k;i++){
                    s.remove(l[i]);
                }
                for(int i=0;i<k;i++){
                    s.add(r[i]);
                }
                f=1;

            }
            else if(re.equals("=")){
                for(int i=0;i<k;i++){
                    s.remove(l[i]);
                }
                for(int i=0;i<k;i++){
                    s.remove(r[i]);
                }
            }
        }
        if(f==0){
            System.out.println(n-s1.size());
            return ;
        }
        System.out.println(s.size());
        return ;
    }
}

试题 G: 背包与魔法

思路:

可以参考01背包的思路,加一维判断是否使用了这个魔法

参考代码:

import java.util.*;
public class Main {
    static int W[]=new int[2010];
    static int V[]=new int[2010];
    static int dp[][]=new int [10010][2];
    public static void main(String[] args)  {
        Scanner in=new Scanner(System.in);
        int N ,M,K;
        N=in.nextInt();
        M=in.nextInt();
        K=in.nextInt();
        for(int i=1;i<=N;i++){
            W[i]=in.nextInt();
            V[i]=in.nextInt();
        }
        for(int i=1;i<=N;i++){
            for( int j=M;j>=W[i];j--){
                dp[j][0]=Math.max(dp[j-W[i]][0]+V[i],dp[j][0]);
                if(j-K-W[i]>=0){
                    dp[j][1]=Math.max(dp[j-W[i]-K][0]+2*V[i],dp[j][1]);
                    dp[j][1]=Math.max(dp[j-W[i]][1]+V[i],dp[j][1]);
                }
            }
        }
        int ans=Math.max(dp[M][0],dp[M][1]);
        System.out.println(ans);
        return ;
    }
}

试题H:修路

思路:

将各个顶点分为3类,第一类左上角的点,标记为0,a的为1到n,b的为m+(1到n),然后将其建边,主要是一侧的相邻之间进行建边,相对的可以任意两两之间建边,然后跑最小生成树,得到结果

参考代码:

import java.util.*;
public class Main {
    static Scanner cin=new Scanner(System.in);
    static class node implements Comparable<node>{
        double val;
        int x;
        int y;
        @Override
        public int compareTo(node o) {
            if(this.val>o.val){
                return 1;
            }
            else{
                return -1;
            }

        }
    }
    static node p[]=new node[5000005];
    static int a[]=new int[2005];
    static int b[]=new int[2005];
    static int fa[]=new int[5000005];
    static int find(int x){
        if(x==fa[x])return x;
        else{
            return fa[x]=find(fa[x]);
        }
    }
    static void Merge(int x,int y){
        int xx=find(x);
        int yy=find(y);
        if(xx!=yy){
            fa[xx]=yy;
        }

    }
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int n,m,d;
        n=cin.nextInt();
        m=cin.nextInt();
        d=cin.nextInt();
        for(int i=1;i<=n;i++){
            a[i]=cin.nextInt();
        }

        for(int i=1;i<=m;i++){
            b[i]=cin.nextInt();
        }
        for(int i=0;i<=n*m+n+m;i++){
            fa[i]=i;
        }
        Arrays.sort(a,1,n+1);
        Arrays.sort(b,1,m+1);
        int cc=0;
        p[cc]=new node();
        p[cc].val=(double)(a[1]);
        p[cc].x=0;
        p[cc].y=1;
        cc++;
        p[cc]=new node();
        p[cc].val=(double)(Math.sqrt((double)(b[1]*b[1]+d*d)));
        p[cc].x=0;
        p[cc].y=n+1;
        cc++;
        for(int i=2;i<=n;i++){
            p[cc]=new node();
            p[cc].val=(double)(a[i]-a[i-1]);
            p[cc].x=i-1;
            p[cc].y=i;
            cc++;
        }
        for(int i=2;i<=m;i++){
            p[cc]=new node();
            p[cc].val=(double)(b[i]-b[i-1]);
            p[cc].x=i-1+n;
            p[cc].y=i+n;
            cc++;
        }
        for(int i=1;i<=n;i++){
            for(int j=1;j<=m;j++){
                p[cc]=new node();
                p[cc].val=(double)(Math.abs(a[i]-b[j])*Math.abs(a[i]-b[j])+d*d);
                p[cc].x=i;
                p[cc].y=j+n;
                cc++;
            }
        }
        Arrays.sort(p,0,cc);
        double ans=0;
        int cnt=0;
        for(int i=0;i<cc;i++){
            if(find(p[i].x)!=find(p[i].y)){
                Merge(p[i].x,p[i].y);
                ans+=p[i].val;
                cnt++;
            }
            if(cnt==n+m){
                break;
            }
        }
        System.out.printf("%.2f\n",ans);
        return ;
    }



}

试题I:围栏

计算几何不咋会(弱项)

试题J: 好数之和

思路:

把其他数位进行枚举,然后将其2022插入进去进行判断即可,kkkk枚举的是插入位置,其他是代表其他几位上的数

参考代码:

import java.util.*;
public class Main {
    static Scanner cin=new Scanner(System.in);
    public static void main(String[] args) {
        int L, R;
        L = cin.nextInt();
        R = cin.nextInt();
        long res = 0;
        for (int kkkk = 0; kkkk < 6; kkkk++) {
            for (int i = 0; i <= 9; i++) {
                for (int j = 0; j <= 9; j++) {
                    for (int k = 0; k <= 9; k++) {
                        for (int kk = 0; kk <= 9; kk++) {
                            for (int kkk = 0; kkk <= 9; kkk++) {
                                if (kkkk == 0) {
                                    int ans = 0;
                                    ans = ans * 10 + i;
                                    ans = ans * 10 + j;
                                    ans = ans * 10 + k;
                                    ans = ans * 10 + kk;
                                    ans = ans * 10 + kkk;
                                    int a[] = {2, 0, 2, 2};
                                    for (int jj = 0; jj < 4; jj++) {
                                        ans = ans * 10 + a[jj];
                                    }
                                    if (ans >= L && ans <= R) {
                                        res += ans;
                                    }
                                }
                                if (kkkk == 1) {
                                    int ans = 0;
                                    ans = ans * 10 + i;
                                    ans = ans * 10 + j;
                                    ans = ans * 10 + k;
                                    ans = ans * 10 + kk;
                                    int a[] = {2, 0, 2, 2};
                                    for (int jj = 0; jj < 4; jj++) {
                                        ans = ans * 10 + a[jj];
                                    }
                                    ans = ans * 10 + kkk;
                                    if (ans >= L && ans <= R) {
                                        res += ans;
                                    }
                                }
                                if (kkkk == 2) {
                                    int ans = 0;
                                    ans = ans * 10 + i;
                                    ans = ans * 10 + j;
                                    ans = ans * 10 + k;
                                    int a[] = {2, 0, 2, 2};
                                    for (int jj = 0; jj < 4; jj++) {
                                        ans = ans * 10 + a[jj];
                                    }
                                    ans = ans * 10 + kk;
                                    ans = ans * 10 + kkk;
                                    if (ans >= L && ans <= R) {
                                        res += ans;
                                    }
                                }
                                if (kkkk == 3) {
                                    int ans = 0;
                                    ans = ans * 10 + i;
                                    int a[] = {2, 0, 2, 2};
                                    for (int jj = 0; jj < 4; jj++) {
                                        ans = ans * 10 + a[jj];
                                    }
                                    ans = ans * 10 + k;
                                    ans = ans * 10 + kk;
                                    ans = ans * 10 + kkk;
                                    if (ans >= L && ans <= R) {
                                        res += ans;
                                    }
                                }
                                if (kkkk == 4) {
                                    int ans = 0;
                                    ans = ans * 10 + i;
                                    int a[] = {2, 0, 2, 2};
                                    for (int jj = 0; jj < 4; jj++) {
                                        ans = ans * 10 + a[jj];
                                    }
                                    ans = ans * 10 + j;
                                    ans = ans * 10 + k;
                                    ans = ans * 10 + kk;
                                    ans = ans * 10 + kkk;
                                    if (ans >= L && ans <= R) {
                                        res += ans;
                                    }
                                }
                                if (kkkk == 5) {
                                    int ans = 0;
                                    int a[] = {2, 0, 2, 2};
                                    for (int jj = 0; jj < 4; jj++) {
                                        ans = ans * 10 + a[jj];
                                    }
                                    ans = ans * 10 + i;
                                    ans = ans * 10 + j;
                                    ans = ans * 10 + k;
                                    ans = ans * 10 + kk;
                                    ans = ans * 10 + kkk;
                                    if (ans >= L && ans <= R) {
                                        res += ans;
                                    }
                                }

                            }
                        }
                    }
                }
            }
        }
        System.out.println(res);

            return;
        }
    }
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

第十三届蓝桥杯JAVAB组国赛部分思路及代码 的相关文章

  • 人工智能基础概念1:模型、拟合、最大似然估计、似然函数、线性回归、sigmoid函数、逻辑回归

    一 模型 拟合 xff08 fitting xff09 和过拟合 xff08 overfitting xff09 人工智能中的模型 xff08 Artificial Intelligence Model xff09 指的是一些算法和数学模型
  • 中国移动提出的ABCDNETS和DSSN数联网技术介绍

    一 引言 在2023年4月14日 xff0c 中国移动召开 数据要素流通与治理产业高峰论坛上 xff0c 中国移动发布了 数联网 xff08 DSSN xff09 白皮书 xff0c 同时发布了全球首创的数联网 DSSN 服务平台等产品 x
  • Python循环语句(while循环、for循环)

    Python循环语句 一 while循环二 for语句三 range 函数四 break 和 continue 语句五 pass语句 Python循环语句主要有while循环和for循环 xff0c Python 循环语句的控制结构图如下所
  • 深度学习笔记一:深度学习环境的搭建

    首先需要下载anaconda xff08 官方网站下载 xff09 一路选择next即可 这里我没有选择添加环境变量 xff0c 如果有需要 xff0c 后期可以手动添加 xff0c 这里可以根据自己情况选择 安装完成后 xff0c 从wi
  • HAN论文模型代码复现与重构

    论文简介 本文主要介绍CMU在2016年发表在ACL的一篇论文 xff1a Hierarchical Attention Networks for Document Classification及其代码复现 该论文是用于文档级情感分类 xf
  • Http Digest认证协议

    http blog csdn net htjoy1202 article details 7067287 其认证的基本框架为挑战认证的结构 xff0c 如下图所示 xff1a xfeff xfeff 1 客户端希望取到服务器上的某个资源 x
  • 【系统分析师之路】嵌入式系统章节错题集锦

    系统分析师之路 嵌入式系统章节错题集锦 系分章节错题集第01题 xff1a 红色 01 雷达设计人员在设计数字信号处理单元时 xff0c 其处理器普遍采用DSP芯片 xff08 比如 xff1a TI公司的TMS320C63xx xff09
  • 【软工】程序编码

    目录 前言正文 程序设计语言 分类 选择原则 程序编码总原则 好程序的标准 结构化程序设计 主要内容 主要原则 程序设计风格 源程序文档化 数据说明 语句结构 输入输出方法 程序设计质量评价 正确性结构清晰性易修改性 易读性 简单性 程序复
  • TPM1.2到TPM 2.0的变化

    原文地址 xff1a http www vonwei com mod 61 pad amp act 61 view amp id 61 11 TPM 1 2规范主要面向PC平台 xff0c 其103版本在2009年被接受为ISO标准 xff
  • 关于Cmake与CmakeLists(一)--背景,须知,示例

    一 背景及须知 1 背景 xff1a VS2019与VS2010在编写程序时都是创建了一个工程 xff0c 然后直接打开 sln即可 但是vscode仅仅是一个编辑器 xff0c 打开之后只有 c或者 cpp文件 xff0c 故需要手动编译
  • webgl(three.js)实现室内定位,楼宇bim、实时定位三维可视化解决方案——第五课

    webgl three js 实现室内定位 楼宇bim 实时定位三维可视化解决方案 第五课 参考文章 xff1a xff08 1 xff09 webgl three js 实现室内定位 楼宇bim 实时定位三维可视化解决方案 第五课 xff
  • Linux虚拟机在线扩容lvm类型root分区

    目录 Linux虚拟机在线扩容lvm类型root分区写在前面正文写在后面 Linux虚拟机在线扩容lvm类型root分区 写在前面 这是我在CSDN上的第一篇文章 作为一个半江湖的IT人 xff0c 这些年来也在CSDN受益很多 今天是20
  • 无vCenter创建vSAN集群

    无vCenter创建vSAN集群 最近仍有朋友在问题 xff0c vCenter如果 挂了 xff0c vSAN还能正常运行吗 xff1f 这个小文通过手动创建vSAN集群的方式来解答下这个问题吧 xff08 生产环境慎用 xff01 xf
  • 记一次mdadm软raid1升级容量

    MDRaid 2块4TB做了软RAID1 xff0c 需要升级成2块8TB盘 查看磁盘信息 xff0c SerialNumber等会儿会用到 xff0c 防止换错盘 span class token function sudo span h
  • [简洁版]youtube-dl下载命令

    简介 YouTube dl是python上的pip模块 xff08 开源 xff09 xff0c 可以用来下载YouTube Bilibili等多个平台的视频 音频文件 xff0c 可谓是居家旅行必备小工具 本文主要介绍一些常用的youtu
  • [简版]VMware强大的管理工具-PowerCLI

    一 PowerCLI介绍 什么是 PowerCLI PowerCLI 是一个命令行工具 xff0c 可以用于自动化vSphere管理 xff0c 包括网络 存储 虚拟机以及其他很多功能 PowerCLI包含超过700个命令 要安装Power
  • [简版]使用PowerCLI自定义vSphere ISO安装镜像

    一 什么情况下要自定义ISO镜像 一般来说 xff0c 对于DELL Lenovo HPE这类主流的服务器厂商 xff0c VMware官方vSphere ISO镜像或者官网的第三方客制镜像 xff08 由服务器厂商提供的封装镜像 xff0
  • [简版] 关于vSphere漏洞-OpenSLP

    一 前言 近期vSphere OpenSLP漏洞在野利用的新闻频频被爆出来 xff0c 大伙儿非常关注 由于vSphere虚拟化客户之广泛 xff0c 很多朋友都表达了自己的焦虑 xff0c 同时也会担心自己管理的vSphere虚拟化平台是
  • [简版] Linux搭建SAMBA文件共享服务

    SMB服务搭建 更多参数含义参考链接 常用配置 安装samba span class token comment Ubuntu span span class token function sudo span span class toke
  • STM32 HAL库详解

    STM32 HAL库整体总结 STM32 之二 HAL库详解 及 手动移植 本篇博客是对以上参考资源的一个二次总结与整理 1 HAL库文件结构 对于开发人员而言 xff0c 首先要清楚 HAL 库的文件结构 根据文件类型可认为以下两大类 x

随机推荐

  • STM32 HAL库学习(四):DMA之串口空闲中断

    STM32CubeMX 配置实现参考这里 1 串口空闲中断 1 1 UART DMA方式接收数据 STM32串口使用DMA方式接收数据可以减小CPU的开销 对于接收定长数据 xff0c 可以将DMA接收缓冲区的长度设定为待接收数据的长度 x
  • Android Studio 启动模拟器出现“Timed out after 300seconds waiting for emulator to come online“解决方案

    Android Studio 启动模拟器出现 34 Timed out after 300seconds waiting for emulator to come online 34 解决方案 参考文章 xff1a xff08 1 xff0
  • 结构体中的位定义

    1 结构体位定义 在工作中 xff0c 经常遇到按位 xff08 bit xff09 定义结构体 的情况 由于一个字节有8个位 xff0c 这时 xff0c 程序员往往对bit的位置产生困惑 现在给出2个例子 xff0c 来说明位的定义次序
  • 蓝牙基础(三):蓝牙协议栈总体认知

    蓝牙基础 xff08 三 xff09 xff1a 蓝牙协议栈总体认知 0 前言 初入门经典蓝牙学习 xff0c 网上资料参差不齐 xff0c 本博客旨在整理自己的一些总结内容 xff0c 建立整体功能认识 xff0c 以便后续深入学习 1
  • FreeRTOS学习(四)任务调度与切换

    文章目录 1 任务调度2 任务切换2 1 SVC 和 PendSV2 2 上下文2 3 切换场景2 4 PendSV Handler 3 总结 1 任务调度 在建立完任务后紧接着调用任务调度函数 xff0c 便会使系统运行起来 span c
  • FreeRTOS学习(五)队列与信号量

    文章目录 1 队列1 1 队列特性1 2 队列创建1 2 1 接口函数1 2 2 内存占用1 2 3 创建过程分析 1 3 入队与出队1 3 1 队列项入队1 3 1 队列项出队 2 信号量2 1 二值信号量2 2 计数型信号量2 3 互斥
  • FreeRTOS学习(六)时间管理

    文章目录 1 延时函数1 1 vTaskDelay 1 2 vTaskDelayUntil 1 3 系统时钟节拍 2 软件定时器2 1 定时器概述2 2 定时器 API 3 总结 1 延时函数 当任务需要调用延时函数延时时 xff0c 任务
  • C语言 sscanf库函数

    目录 1 函数描述2 函数应用2 1 基础应用2 2 高级应用 1 函数描述 xff08 1 xff09 函数功能 xff1a 通常被用来解析并转换字符串 xff0c 从str指定的字符串读取数据 xff0c 并根据参数format字符串来
  • C语言 文件读写

    目录 1 文件打开与关闭1 1 打开文件 fopen 1 2 关闭文件 fclose 2 读取文件2 1 fgetc 2 2 fgets 2 3 fscanf 3 写入文件3 1 fputc 3 2 fputs 3 3 fprintf 1
  • C语言 条件编译

    目录 1 if elif else endif 2 ifdef else endif 3 ifndef else endif 4 三者区别 根据不同情况编译不同代码 产生不同目标文件的机制 xff0c 称为条件编译 条件编译是预处理程序的功
  • yolo 学习系列(三):训练参数与网络参数

    yolo 学习系列 xff08 三 xff09 xff1a 训练参数与网络参数 手把手教你做目标检测 xff08 YOLO SSD xff09 视频链接 1 训练参数 博主在使用 yolov2 tiny voc 训练 人 这一类目标物体时
  • Caffe 学习系列(七):MobileNet-YOLO 安装与训练

    Caffe 学习系列 xff08 七 xff09 xff1a MobileNet YOLO 安装与训练 基于darknet实现mobilenet 基于darknet框架实现DepthwiseConvolutional层 深度学习 xff08
  • 完美解决api-ms-win-crt-runtime-l1-1-0.dll 丢失问题

    完美解决api ms win crt runtime l1 1 0 dll 丢失问题 参考文章 xff1a xff08 1 xff09 完美解决api ms win crt runtime l1 1 0 dll 丢失问题 xff08 2 x
  • Moveit!入门——古月居机械臂开发笔记(一)

    Moveit 入门 古月居机械臂开发笔记 xff08 一 xff09 引言Moveit xff01 与机械臂控制1 创作机械臂模型2 生成配置文件3 如何使用Moveit xff01 实现机械臂仿真 xff08 gazebo xff09 完
  • 数据处理:Excel读取txt文本

    数据处理 xff08 一 xff09 xff1a Excel读取txt文本 1 1 任务需求 txt 文本为四列数据 xff0c 以空格为分隔符号 xff0c 现导入 Excel 中 1 2 实现步骤 新建 excel 文件点击 数据 来自
  • Raspberrypi 3 系统备份还原, 基于最小系统镜像实现

    Raspberrypi 3 备份还原系统 一 为什么要备份系统 xff1f 1 经常在树莓派上调试程序 xff0c 安装各种软件 xff0c 越来越多的库和程序的安装带来的系统更改几乎是不可逆的 xff0c 一旦某个程序或者驱动出现问题 x
  • linux 内核链表

    linux内核中大量使用如下数据结构实现双向链表 xff1a struct list head struct list head next prev 如果需要有某种数据结构的双向队列 xff0c 就在这种结构内部放一个list head数据
  • FreeRTOS任务基础知识总结

    1 单任务系统 前后台系统 xff1a 中断服务函数为前台程序 xff0c 大循环while 1 作为后台程序 前后台系统的实时性差 xff0c 但是前后台系统简单 xff0c 资源消耗少 2 FreeRTOS是一种抢占式的实时多任务系统
  • 第一章面试题整理

    一 C 43 43 域操作符的使用 include 34 stdio h 34 include 34 windows h 34 int value 61 0 初始化全局变量 void printvalue printf 34 value 6
  • 第十三届蓝桥杯JAVAB组国赛部分思路及代码

    JAVA B组参考代码 文章目录 JAVA B组参考代码 试题 A 重合次数 答案 494 试题 B 数数 答案 25606 试题 C 左移右移 思路 xff1a 对于操作从后向前记录 xff0c 最后操作的肯定是在两端 xff0c 并对该