当前位置:网站首页>{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;
} 边栏推荐
- 强化學習基礎記錄
- How to earn the first pot of gold in CSDN (we are all creators)
- 内网渗透之内网信息收集(四)
- Captcha killer verification code identification plug-in
- Xray and Burp linked Mining
- SQL注入
- 攻防世界MISC练习区(SimpleRAR、base64stego、功夫再高也怕菜刀)
- Network technology related topics
- Constants, variables, and operators of SystemVerilog usage
- Applet Web Capture -fiddler
猜你喜欢
随机推荐
Detailed explanation of network foundation routing
Tencent map circle
Build domain environment (win)
搭建域环境(win)
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
Force deduction 152 question multiplier maximum subarray
The United States has repeatedly revealed that the yield of interest rate hiked treasury bonds continued to rise
[three paradigms of database] you can understand it at a glance
攻防世界MISC练习区(gif 掀桌子 ext3 )
Sqqyw (indifferent dot icon system) vulnerability recurrence and 74cms vulnerability recurrence
安全面试之XSS(跨站脚本攻击)
内网渗透之内网信息收集(二)
Hackmyvm target series (1) -webmaster
Middleware vulnerability recurrence Apache
Package bedding of components
On the idea of vulnerability discovery
《统计学》第八版贾俊平第六章统计量及抽样分布知识点总结及课后习题答案
Hackmyvm Target Series (3) - vues
《统计学》第八版贾俊平第八章假设检验知识点总结及课后习题答案
Overview of LNMP architecture and construction of related services









