当前位置:网站首页>{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;
} 边栏推荐
- 强化學習基礎記錄
- 攻防世界MISC练习区(SimpleRAR、base64stego、功夫再高也怕菜刀)
- JDBC看这篇就够了
- xray与burp联动 挖掘
- Based on authorized access, cross host, and permission allocation under sqlserver
- Callback function ----------- callback
- JVM memory model concept
- [paper reproduction] cyclegan (based on pytorch framework) {unfinished}
- 7-7 7003 combination lock (PTA program design)
- 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
猜你喜欢

《统计学》第八版贾俊平第十一章一元线性回归知识点总结及课后习题答案

xray與burp聯動 挖掘

Hackmyvm target series (2) -warrior

Lintcode logo queries the two nearest saplings

Library management system

循环队列(C语言)

JDBC transactions, batch processing, and connection pooling (super detailed)

Intranet information collection of Intranet penetration (I)

How to understand the difference between technical thinking and business thinking in Bi?

Interpretation of iterator related "itertools" module usage
随机推荐
SQL注入
Hackmyvm target series (5) -warez
强化学习基础记录
Apache APIs IX has the risk of rewriting the x-real-ip header (cve-2022-24112)
[data processing of numpy and pytoch]
JDBC看这篇就够了
Solutions to common problems in database development such as MySQL
链队实现(C语言)
安全面试之XSS(跨站脚本攻击)
7-11 mechanic mustadio (PTA program design)
Harmonyos application development -- address book management system telmanagesys based on listcontainer [phonebook][api v6]
xray与burp联动 挖掘
C language file operation
Applet Web Capture -fiddler
Ucos-iii learning records (11) - task management
Intranet information collection of Intranet penetration (4)
JDBC read this article is enough
Internet Management (Information Collection)
Experiment 8 exception handling
Harmonyos JS demo application development