1.kԴ?源码rocketmq 源码?
kԴ??
#include <stdio.h>
int main(void)
{
int a[]={ 1,2,3,4,5,6,7,8,9,};
int i,k;
scanf("%d",&k);
for(i=0;i<;i++)
{
if(a[i]==k)
{
printf("指定值k的下标是:%d\n",i);
break;
}
}
if(i==)
{
printf("没有一个元素的值等于指定值k!\n");
}
return 0;
}
2024-12-24 01:59
2024-12-24 01:16
2024-12-24 01:00
2024-12-24 00:52
2024-12-24 00:35
2024-12-24 00:28