摘要:
#include <stdio.h> #include <string.h> int main() { int i, j; char a[] = "ftgfdajkfdaskdajklfdsa"; char b[] = "dajk"; for (i = 0; i < strlen(a); i++) 阅读全文
posted @ 2022-01-12 18:42
想和大佬做朋友
阅读(58)
评论(0)
推荐(0)
摘要:
20 59 59 > 21:00:00 20 59 58 > 20:59:59 #include <stdio.h> int main() { int h, m, s; scanf("%d%d%d", &h, &m, &s); if(h > 23 || m > 59 || s > 59) { pri 阅读全文
posted @ 2022-01-12 18:35
想和大佬做朋友
阅读(28)
评论(0)
推荐(0)
摘要:
#include<stdio.h> char find_word(char *p,char c) { int n=0; while (*p!='\0') { if(*p==c) { n++; } p++; } return n; } int main() { char a[]="hello worl 阅读全文
posted @ 2022-01-12 18:27
想和大佬做朋友
阅读(72)
评论(0)
推荐(0)
浙公网安备 33010602011771号