当前位置:网站首页>{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;
}
边栏推荐
- Apache APIs IX has the risk of rewriting the x-real-ip header (cve-2022-24112)
- Network layer - simple ARP disconnection
- Solutions to common problems in database development such as MySQL
- JVM memory model concept
- Package bedding of components
- [three paradigms of database] you can understand it at a glance
- 记一次,修改密码逻辑漏洞实战
- 小程序web抓包-fiddler
- This article explains in detail how mockmvc is used in practical work
- Sword finger offer 23 - print binary tree from top to bottom
猜你喜欢
Low income from doing we media? 90% of people make mistakes in these three points
Network layer - simple ARP disconnection
Package bedding of components
Callback function ----------- callback
Web vulnerability - File Inclusion Vulnerability of file operation
xray与burp联动 挖掘
Library management system
HackMyvm靶机系列(4)-vulny
Experiment 6 inheritance and polymorphism
Intranet information collection of Intranet penetration (4)
随机推荐
Solutions to common problems in database development such as MySQL
安全面试之XSS(跨站脚本攻击)
This article explains in detail how mockmvc is used in practical work
Experiment 9 input and output stream (excerpt)
《统计学》第八版贾俊平第九章分类数据分析知识点总结及课后习题答案
Library management system
Captcha killer verification code identification plug-in
内网渗透之内网信息收集(四)
记一次edu,SQL注入实战
Package bedding of components
Data mining - a discussion on sample imbalance in classification problems
内网渗透之内网信息收集(一)
MSF generate payload Encyclopedia
How to turn wechat applet into uniapp
Callback function ----------- callback
Constants, variables, and operators of SystemVerilog usage
《统计学》第八版贾俊平第三章课后习题及答案总结
7-8 7104 Joseph problem (PTA program design)
Strengthen basic learning records
The United States has repeatedly revealed that the yield of interest rate hiked treasury bonds continued to rise