摘要: int trailingZeroes(int n){ int res = 0; while (n) { n /= 5; res += n; } return res; } 阅读全文
posted @ 2020-10-22 17:51 温暖了寂寞 阅读(78) 评论(0) 推荐(0) 编辑
摘要: //C语言双循环遍历 int* fairCandySwap(int* A, int ASize, int* B, int BSize, int* returnSize){ int sumA=0,sumB=0,i,j; int* arr = (int*)calloc(2,sizeof(int)); * 阅读全文
posted @ 2020-10-22 15:56 温暖了寂寞 阅读(145) 评论(0) 推荐(0) 编辑