当前位置:网站首页>{1,2,3,2,5}查重问题
{1,2,3,2,5}查重问题
2022-07-06 09:23:00 【无二三事】
#include<stdio.h>
main(){
int a[5]={1,2,3,5,1};
int i,j,flag=0;
for(i=0;i<5;i++){
for(j=i+1;j<5;j++){
if(a[i]==a[j]){
flag = 1;
printf("%d",a[i]);
break;
}
}
if(flag==1)break;
}
return 0;
}
边栏推荐
- Hackmyvm Target Series (3) - vues
- JDBC transactions, batch processing, and connection pooling (super detailed)
- Strengthen basic learning records
- HackMyvm靶機系列(3)-visions
- 《统计学》第八版贾俊平第九章分类数据分析知识点总结及课后习题答案
- The United States has repeatedly revealed that the yield of interest rate hiked treasury bonds continued to rise
- Always of SystemVerilog usage_ comb 、always_ iff
- XSS (cross site scripting attack) for security interview
- How to earn the first pot of gold in CSDN (we are all creators)
- HackMyvm靶机系列(7)-Tron
猜你喜欢
Renforcer les dossiers de base de l'apprentissage
Captcha killer verification code identification plug-in
Package bedding of components
记一次edu,SQL注入实战
captcha-killer验证码识别插件
Hackmyvm target series (3) -visions
sqqyw(淡然点图标系统)漏洞复现和74cms漏洞复现
Tencent map circle
《统计学》第八版贾俊平第七章知识点总结及课后习题答案
List and data frame of R language experiment III
随机推荐
《统计学》第八版贾俊平第十章方差分析知识点总结及课后习题答案
Binary search tree concept
Bing Dwen Dwen official NFT blind box will be sold for about 626 yuan each; JD home programmer was sentenced for deleting the library and running away; Laravel 9 officially released | Sifu weekly
Realize applet payment function with applet cloud development (including source code)
2022华中杯数学建模思路
Library management system
《统计学》第八版贾俊平第十三章时间序列分析和预测知识点总结及课后习题答案
XSS之冷门事件
Sqqyw (indifferent dot icon system) vulnerability recurrence and 74cms vulnerability recurrence
Network technology related topics
HackMyvm靶机系列(2)-warrior
Intranet information collection of Intranet penetration (2)
7-4 hash table search (PTA program design)
Intranet information collection of Intranet penetration (5)
《统计学》第八版贾俊平第十四章指数知识点总结及课后习题答案
Hackmyvm target series (7) -tron
MSF generate payload Encyclopedia
图书管理系统
Feature extraction and detection 14 plane object recognition
Detailed explanation of three ways of HTTP caching