c语言输入k,输出第k个幸运数字(只含2或3的数字)
#include "stdio.h"
main()
{
int k;
char s[100];
printf("input K:");
scanf("%d",&k);
printf("Input S:");
scanf("%s",s);
i=0;
while(s[i]!='
#include "stdio.h"
main()
{
int k;
char s[100];
printf("input K:");
scanf("%d",&k);
printf("Input S:");
scanf("%s",s);
i=0;
while(s[i]!='