C语言题解 1093: 字符逆序 摘要:#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <string.h> int main() { char str[…… 题解列表 2024年02月22日 0 点赞 0 评论 173 浏览 评分:0.0
C语言题解 1021: [编程入门]迭代法求平方根 摘要:#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <math.h> double squareroot(double n…… 题解列表 2024年02月22日 0 点赞 0 评论 169 浏览 评分:0.0
通过列表高效解决母牛递归问题 摘要:解题思路:while True + break解决多行输入问题,列表存储解决超时问题,my_list[ ]存储每一年的母牛数注意事项: 当且仅当n>before_max(历史最大输入)时,才允许…… 题解列表 2024年02月21日 0 点赞 0 评论 241 浏览 评分:7.0
连续出现的字符 摘要:k = int(input()) s = input() for i in range(len(s) - k + 1): window = s[i:i+k] if len(…… 题解列表 2024年02月21日 1 点赞 1 评论 242 浏览 评分:9.9
c++解马走日 摘要:解题思路:注意事项:参考代码://马走日经典应用 #include<iostream>#include<cstdio>#include<cstring>#include<vector>using na…… 题解列表 2024年02月21日 0 点赞 0 评论 469 浏览 评分:9.9
malloc函数的使用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main() { int n, i, m; scanf("%d", &n); …… 题解列表 2024年02月21日 0 点赞 0 评论 187 浏览 评分:9.9
自定义函数之数字后移 摘要:解题思路:创建一个数组把前面需要替换的数组进行储存,数组整体后移之后再加到数组前面注意事项:注意数组越界欸,一定要看清楚!!!参考代码:import java.util.Scanner;public …… 题解列表 2024年02月21日 0 点赞 0 评论 269 浏览 评分:9.9
~~【Java】版本~~ 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args…… 题解列表 2024年02月21日 0 点赞 0 评论 244 浏览 评分:0.0
字符串最大跨距C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[300],s1[10],s2[10],*w; in…… 题解列表 2024年02月21日 0 点赞 0 评论 243 浏览 评分:0.0
~~【Java】版本~~ 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args…… 题解列表 2024年02月21日 0 点赞 0 评论 233 浏览 评分:0.0