摘要:
#include <stdio.h> #define MAXS 10 char *match(char *s, char ch1, char ch2); int main() { char str[MAXS], ch_start, ch_end, *p; scanf("%s\n", str); sc 阅读全文
posted @ 2022-03-08 19:51
JamesGordan
阅读(102)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #include <stdlib.h> #define MAXN 10 #define MAXS 20 int max_len(char *s[], int n); int main() { int i, n; char 阅读全文
posted @ 2022-03-08 10:45
JamesGordan
阅读(105)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #define MAXS 80 int getindex(char *s); int main() { int n; char s[MAXS]; scanf("%s", s); n = getindex(s); if (n 阅读全文
posted @ 2022-03-08 09:22
JamesGordan
阅读(59)
评论(0)
推荐(0)
摘要:
#include <stdio.h> char *getmonth(int n); int main() { int n; char *s; scanf("%d", &n); s = getmonth(n); if (s == NULL) printf("wrong input!\n"); else 阅读全文
posted @ 2022-03-08 09:04
JamesGordan
阅读(42)
评论(0)
推荐(0)
摘要:
#include <stdio.h> void printdigits(int n); int main() { int n; scanf("%d", &n); printdigits(n); system("pause"); return 0; } /* 你的代码将被嵌在这里 */ void pr 阅读全文
posted @ 2022-03-08 08:58
JamesGordan
阅读(152)
评论(0)
推荐(0)
摘要:
#include <stdio.h> void dectobin(int n); int main() { int n; scanf("%d", &n); dectobin(n); system("pause"); return 0; } /* 你的代码将被嵌在这里 */ void dectobin 阅读全文
posted @ 2022-03-08 08:51
JamesGordan
阅读(64)
评论(0)
推荐(0)
摘要:
#include <stdio.h> double P(int n, double x); int main() { int n; double x; scanf("%d %lf", &n, &x); printf("%.2f\n", P(n, x)); system("pause"); retur 阅读全文
posted @ 2022-03-08 08:41
JamesGordan
阅读(121)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int f(int n); int main() { int n; scanf("%d", &n); printf("%d\n", f(n)); system("pause"); return 0; } /* 你的代码将被嵌在这里 */ int f(int n) 阅读全文
posted @ 2022-03-08 08:36
JamesGordan
阅读(48)
评论(0)
推荐(0)

浙公网安备 33010602011771号