阿尔法乘积——python 摘要:解题思路:注意事项:参考代码:def xh(n): if len(n) == 1: return int(n) else: a = 1 n = n…… 题解列表 2023年03月30日 0 点赞 0 评论 291 浏览 评分:0.0
芯片测试——python 摘要:解题思路:注意事项:参考代码:n = int(input())L = []for i in range(n): L.append(list(map(int,input().split())))a…… 题解列表 2023年03月30日 0 点赞 0 评论 400 浏览 评分:0.0
阮小二买彩票——python全排列 摘要:解题思路:注意事项:输入时去空格,输出时去重参考代码:from itertools import*n = input().strip()L = sorted(set(permutations(n)))…… 题解列表 2023年03月30日 0 点赞 0 评论 375 浏览 评分:0.0
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年03月30日 0 点赞 0 评论 284 浏览 评分: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 评论 354 浏览 评分:0.0
统计子矩阵(双指针) 摘要:解题思路:/*解题思路*//*使用双指针 将A数组中的任意俩列的前缀和看做一个一维数组求解*//*在一维数组中 a[n]={a[1],a[2],...,a[n]}; 类似题目 求其中不大于k:9的数组…… 题解列表 2023年03月30日 0 点赞 0 评论 1153 浏览 评分:8.9
[编程入门]自定义函数之字符串连接 摘要:大体思路:将arr数组元素赋给crr然后再将brr赋给crr,最后加一个'\0'然后输出 参考代码 ```c void Link(char arr[], char brr[], char c…… 题解列表 2023年03月30日 0 点赞 0 评论 467 浏览 评分:9.9
自定义函数之字符串反转-题解 摘要:定义数组-输入字符串-获取字符串个数-字符串倒置赋给另一数组-将字符的后面一位赋'\0'作为结束标志-输出 ```c int main() { char arr[100],brr[100…… 题解列表 2023年03月30日 0 点赞 0 评论 329 浏览 评分: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 评论 698 浏览 评分:9.9
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年03月30日 0 点赞 0 评论 308 浏览 评分:0.0