给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年03月30日 0 点赞 0 评论 195 浏览 评分:0.0
比较字符串——python 摘要:解题思路:注意事项:参考代码:a,b = map(str,input().split())c = min(len(a),len(b))if a == b: print(0)else: fo…… 题解列表 2023年03月30日 0 点赞 0 评论 196 浏览 评分:0.0
统计子矩阵(双指针) 摘要:解题思路:/*解题思路*//*使用双指针 将A数组中的任意俩列的前缀和看做一个一维数组求解*//*在一维数组中 a[n]={a[1],a[2],...,a[n]}; 类似题目 求其中不大于k:9的数组…… 题解列表 2023年03月30日 0 点赞 0 评论 1050 浏览 评分:8.9
[编程入门]自定义函数之字符串连接 摘要:大体思路:将arr数组元素赋给crr然后再将brr赋给crr,最后加一个'\0'然后输出 参考代码 ```c void Link(char arr[], char brr[], char c…… 题解列表 2023年03月30日 0 点赞 0 评论 334 浏览 评分:9.9
自定义函数之字符串反转-题解 摘要:定义数组-输入字符串-获取字符串个数-字符串倒置赋给另一数组-将字符的后面一位赋'\0'作为结束标志-输出 ```c int main() { char arr[100],brr[100…… 题解列表 2023年03月30日 0 点赞 0 评论 212 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-求和 摘要:解题思路:注意事项:参考代码:n=int(input())L=list(map(int,input().split()))res=0s=0k=0for i in range(n): s+=L[i…… 题解列表 2023年03月30日 0 点赞 0 评论 520 浏览 评分:9.9
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年03月30日 0 点赞 0 评论 200 浏览 评分:0.0
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年03月30日 0 点赞 0 评论 343 浏览 评分:0.0
递归逆序进行连接 摘要:f函数代表输出当前长度为n的字符串的最后一个字母,递归终止的条件是字符串长度为0为止,return结束函数 ```c #include #include void f(char *…… 题解列表 2023年03月30日 0 点赞 0 评论 245 浏览 评分:0.0
编写题解 1021: [编程入门]迭代法求平方根 摘要:参考代码:x=int(input()) lis=[x] for i in range(1,20): c=lis[i-1]+x/lis[i-1] lis.append(c/2)…… 题解列表 2023年03月30日 0 点赞 0 评论 309 浏览 评分:0.0