摘要: 1 #include <stdio.h> 2 #include <string.h> 3 int main(void) 4 { 5 char s[4][19]; 6 int len; 7 8 for (int i = 0; i < 4; i++) 9 { 10 scanf("%s", s[i]); 阅读全文
posted @ 2020-07-13 20:17 jason2018 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #define MAXS 30 3 4 char *search(char *s, char *t); 5 void ReadString( char s[] ); /* 裁判提供,细节不表 */ 6 7 int main() 8 { 9 char s[ 阅读全文
posted @ 2020-07-13 19:15 jason2018 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 3 #define MAXS 10 4 5 char* match(char* s, char ch1, char ch2); 6 7 int main() 8 { 9 char str[MAXS], ch_start, ch_end, * p; 10 阅读全文
posted @ 2020-07-13 18:56 jason2018 阅读(565) 评论(0) 推荐(0) 编辑