3.23 OJ

基础题已刷完,进阶题一天一道

一、

回文数

作者: lq

时间限制: 1s

章节: 基本练习(循环)

问题描述

1221是一个非常特殊的数,它从左边读和从右边读是一样的,编程求大于等于n的所有这样的四位十进制数。

输入说明

输入一个整数n,n<9999

输出说明

按从小到大的顺序输出满足条件的四位十进制数。

cpp 复制代码
#include <bits/stdc++.h>
using namespace std;
bool huiwen(string s)
{
    for(int i=0;i<s.length()/2;i++)
        {
            if(s[i]!=s[s.length()-i-1])
            {
                return false;
            }
        }
    return true;
}
int main()
{
    int n;
    cin>>n;
    int a=n;
    while(a<10000)
        {
        string b=to_string(a);
            if(huiwen(b))
            {
                cout<<b<<endl;
            }
            a++;
        }
    return 0;
}

总结:简单的循环回文函数判断

二、

翻译:

Computer vision aims to enable computers to understand and analyze images and video information. With the development of deep learning techniques, computer vision has achieved remarkable progress. Convolutional neural networks perform particularly well in tasks such as image classification, object detection, and semanticsegmentation. By training on large labeled datasets, models can learn complex visual features. In recent years, computer vision technologies have been widely applied in fields such as autonomous driving, security surveillance, and industrial inspection. For example, in autonomous driving systems, vision models can recognize roads, vehicles, and pedestrians, helping the system make safe decisions.

计算机视觉旨在让计算机能够理解和分析图像与视频信息。随着深度学习技术的发展,计算机视觉取得了显著进展。卷积神经网络在图像分类、目标检测和语义分割等任务中表现尤为出色。通过在大型标注数据集上进行训练,模型能够学习复杂的视觉特征。近年来,计算机视觉技术已广泛应用于自动驾驶、安防监控和工业检测等领域。例如在自动驾驶系统中,视觉模型可以识别道路、车辆和行人,帮助系统做出安全决策。

三、

相关推荐
KobeSacre5 分钟前
CyclicBarrier 源码
java·jvm·算法
手写码匠6 分钟前
注意力机制全家桶:从 Multi-Head 到 GQA 再到 Flash Attention 的手写实现
人工智能·深度学习·算法·aigc
csdndenglu41 分钟前
Easy3D:一个轻量级、易用、高效的C++库,用于处理和渲染3D数据,无复杂要求时可替代VTK
开发语言·c++·图形渲染·3d渲染
学究天人43 分钟前
数学公理体系大全:Comprehensive Collection of Mathematical Axiom Systems(卷3.2)
线性代数·算法·机器学习·数学建模·动态规划·抽象代数·拓扑学
Yang_jie_031 小时前
笔记:数据结构(链队列的相关判断条件)
数据结构·笔记
tkevinjd1 小时前
力扣322-零钱兑换
算法·leetcode·动态规划
大鱼>1 小时前
AI+资产监控:农业设施智能监控系统
人工智能·深度学习·算法·机器学习
AI科技星1 小时前
乖乖数学·全域超复数统一场论:五大核心门槛与全套标准定量数据
人工智能·python·算法·金融·全域数学
Frostnova丶2 小时前
(13)LeetCode 53. 最大子数组和
算法·leetcode·职场和发展
什巳2 小时前
JAVA练习277- 找到字符串中所有字母异位
java·开发语言·算法·leetcode