752130273 发表于 2015-11-26 21:39

英文的 血崩

752130273 发表于 2015-11-26 21:39

审核未通过

752130273 发表于 2015-11-26 21:39

审核未通过

752130273 发表于 2015-11-26 21:40

审核未通过

752130273 发表于 2015-11-26 21:40

审核未通过

xaltdkj 发表于 2016-1-26 09:26


纯英文的,毕竟蛋疼

xaltdkj 发表于 2016-1-26 09:26

#include <stdio.h>
#define MaxSize 100
typedef struct
{
        char str;
        int length;
}String;
int Replace(String *S,int start,String T,String V)
{
        
    int i=start,j=0,k;
    while(i<S->length&&j<T.length)
        {
                if(S->str==T.str)
        {
            i++;
            j++;
        }
        else
        {
            i=i-j+1;
            j=0;
        }
    }

xaltdkj 发表于 2016-1-26 09:26

啦啦啦~~~我是默认签名(*^__^*)

xaltdkj 发表于 2016-1-26 09:27

#include #define MaxSize 100 typedef struct { char str; int length; }String; int Replace(String *S,int start,String T,String V) { int i=start,j=0,k; while(ilength&&jst

xaltdkj 发表于 2016-1-26 09:27

#include #define MaxSize 100 typedef struct { char str; int length; }String; int Replace(String *S,int start,String T,String V) { int i=start,j=0,k; while(ilength&&jst
页: 1 2 3 [4] 5 6 7 8 9 10 11 12 13
查看完整版本: 2015 MCM 赛题点评 D题