2023———— 求逆序对个数 摘要: import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2023年02月16日 0 点赞 0 评论 294 浏览 评分:0.0
高精度乘法 摘要:解题思路:字符-》数字-》相乘后同位相加-》进位-》判断前导是否为0-》输出最终结果注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ …… 题解列表 2023年02月16日 1 点赞 0 评论 676 浏览 评分:9.9
发现输入用gets是错误的,要用scanf输入字符串才对 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>//找最大 int max(int n,int m){ return n>m?n:m;}int ma…… 题解列表 2023年02月16日 0 点赞 0 评论 302 浏览 评分:9.9
来看 来看 来看 基本的 摘要:解题思路: 先看第一二步 就是统计单词个数的简单变化 第三步仅仅考虑最后一个单词 可以先把前俩步弄懂 再看第三步注意事项:先输入空格 和 后面空格 和最后一个单词的统计参考代码:#include<bi…… 题解列表 2023年02月16日 0 点赞 0 评论 300 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:b = [] s = 0 n = int(input()) for i in range(0,n): l = list(map(int,input().s…… 题解列表 2023年02月16日 0 点赞 0 评论 321 浏览 评分:0.0
2813: 药房管理 摘要:解题思路:注意事项:参考代码:s = 0 m = int(input()) n = int(input()) y = list(map(int,input().split())) for i …… 题解列表 2023年02月15日 0 点赞 0 评论 370 浏览 评分:8.0
连续出现的字符 看一下题 想一下想 一遍过 这种思想要掌握 摘要:解题思路:遍历该位置后面n个字符注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; string s;//字…… 题解列表 2023年02月15日 0 点赞 0 评论 289 浏览 评分:9.9
编写题解 1196: 去掉空格 摘要:解题思路:注意事项:参考代码:while True: try: list1 = input().split() for i in list1: …… 题解列表 2023年02月15日 0 点赞 0 评论 438 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数 摘要:##解题思路 首先,了解下素数 素数是指在大于1的自然数中,除了1和它本身以外不再有其他因数的自然数。(即只有1跟它本身能整除掉这个数) 据此,我们可以想到 **遍数法**(用循环从1开始…… 题解列表 2023年02月15日 0 点赞 0 评论 232 浏览 评分:9.9
2359: 信息学奥赛一本通T1448-电路维修 摘要:```cpp #include #include #include using namespace std; typedef int ll; char mp[1002][1002]; b…… 题解列表 2023年02月15日 0 点赞 0 评论 383 浏览 评分:9.9