好人200
幼苗
共回答了10个问题采纳率:100% 举报
不知道我理解的对不对,起始点s0,终止点s0,你可以试试
#include "stdio.h"
#define N 100
void main()
{
char *c=(char*)malloc(N*sizeof(char));
char *s=(char*)malloc(N*sizeof(char));
char *p=(char*)malloc(N*sizeof(char));
int i;
int key;
int len;
int temp;
printf("Please input encryption text:n");
gets(c);
printf("Please input encryption key words:n");
scanf("%d",&key);
len=strlen(c);
for(i=0;i
1年前
2