当前位置:网站首页>{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;
} 边栏推荐
- 内网渗透之内网信息收集(一)
- Harmonyos JS demo application development
- Binary search tree concept
- Hcip -- MPLS experiment
- UGUI—Text
- Overview of LNMP architecture and construction of related services
- An unhandled exception occurred when C connected to SQL Server: system Argumentexception: "keyword not supported:" integrated
- 《统计学》第八版贾俊平第八章假设检验知识点总结及课后习题答案
- 攻防世界MISC练习区(SimpleRAR、base64stego、功夫再高也怕菜刀)
- What language should I learn from zero foundation. Suggestions
猜你喜欢

《统计学》第八版贾俊平第十四章指数知识点总结及课后习题答案

Chain team implementation (C language)

《统计学》第八版贾俊平第十一章一元线性回归知识点总结及课后习题答案
![[VMware abnormal problems] problem analysis & Solutions](/img/64/f44864da600b61a1a646a5865a2083.jpg)
[VMware abnormal problems] problem analysis & Solutions

图书管理系统

《统计学》第八版贾俊平第六章统计量及抽样分布知识点总结及课后习题答案

攻防世界MISC练习区(gif 掀桌子 ext3 )

Attack and defense world misc practice area (simplerar, base64stego, no matter how high your Kung Fu is, you are afraid of kitchen knives)

强化學習基礎記錄

How to turn wechat applet into uniapp
随机推荐
MySQL interview questions (4)
Experiment 7 use of common classes
Network technology related topics
记一次edu,SQL注入实战
Detailed explanation of network foundation
Statistics 8th Edition Jia Junping Chapter 14 summary of index knowledge points and answers to exercises after class
Hackmyvm target series (5) -warez
强化学习基础记录
Hackmyvm target series (4) -vulny
How to earn the first pot of gold in CSDN (we are all creators)
《统计学》第八版贾俊平第八章假设检验知识点总结及课后习题答案
Record an API interface SQL injection practice
Force deduction 152 question multiplier maximum subarray
HackMyvm靶机系列(6)-videoclub
Apache APIs IX has the risk of rewriting the x-real-ip header (cve-2022-24112)
7-8 7104 Joseph problem (PTA program design)
Library management system
Intranet information collection of Intranet penetration (2)
内网渗透之内网信息收集(一)
Mathematical modeling idea of 2022 central China Cup