题解列表

筛选

编写题解 2761: Hello, World!的大小

摘要: s="Hello, World!" print(len(s)+1) #原题为C语言题目,故结果+1,系统才会判定正确 原题为C语言题目,故结果+1,系统才会判定正确……

查找特定的值C解

摘要:解题思路:注意事项:注意看题参考代码:#include<stdio.h>int main(){    int n,a[10000],i,m,count=0;    scanf("%d",&n);   ……

通过列表高效解决母牛递归问题

摘要:解题思路:while True + break解决多行输入问题,列表存储解决超时问题,my_list[ ]存储每一年的母牛数注意事项:    当且仅当n>before_max(历史最大输入)时,才允许……

连续出现的字符

摘要:k = int(input()) s = input() for i in range(len(s) - k + 1):    window = s[i:i+k]    if len(……

c++解马走日

摘要:解题思路:注意事项:参考代码://马走日经典应用 #include<iostream>#include<cstdio>#include<cstring>#include<vector>using na……

malloc函数的使用

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main() {    int n, i, m;    scanf("%d", &n);  ……