摘要:
1 void strmcpy(char *t, int m, char *s) 2 { 3 int len = 0; //计算字符串t的长度 4 char *p = t; 5 int i; 6 while (*p != '\0') 7 { 8 len++; 9 p++; 10 } 11 12 if 阅读全文
posted @ 2019-12-20 11:59
jason2018
阅读(2783)
评论(0)
推荐(0)
摘要:
1 void CountOff(int n, int m, int out[]) 2 { 3 4 int person[n + 1]; 5 int i; 6 int count; 7 8 /* 9 给编号1到n的人打上标签 10 =0在圈子中 11 =1退出圈子 12 */ 13 for (i = 阅读全文
posted @ 2019-12-20 10:47
jason2018
阅读(341)
评论(0)
推荐(0)

浙公网安备 33010602011771号