1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:num = input().split() print(num[1])…… 题解列表 2024年04月01日 0 点赞 0 评论 473 浏览 评分:0.0
c++二分排序 摘要:解题思路:看到的第一眼原本想使用小根堆找出最小的手牌,看了数据量改用了二分法,因为能凑出手牌的数量是单调的注意事项:参考代码:#include<bits/stdc++.h>#define INF 0x…… 题解列表 2024年04月01日 0 点赞 2 评论 506 浏览 评分:0.0
小白也能看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n; scanf("%d",&n); char arr[5000…… 题解列表 2024年04月01日 0 点赞 0 评论 253 浏览 评分:0.0
dp解法[y总解法] 摘要:看了y总分析才写出来 ``` import java.util.Scanner; public class Main { static int N; static int[] a…… 题解列表 2024年04月01日 1 点赞 0 评论 670 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>void d0(double a,double b,double c);void d1(double a…… 题解列表 2024年04月01日 0 点赞 0 评论 202 浏览 评分:0.0
题解 2791: 计算邮资 (空格与%c) 摘要:```c #include int main() { int a,count,money; char c; scanf("%d %c", &a, &c); //这里…… 题解列表 2024年04月01日 0 点赞 0 评论 246 浏览 评分:0.0
编写题解 1605: 蓝桥杯算法训练VIP-阿尔法乘积 摘要:解题思路:注意事项:参考代码:int main(){ unsigned int a ,sum=1; scanf("%d", &a); if (a < 10)printf("%d",…… 题解列表 2024年04月01日 0 点赞 0 评论 208 浏览 评分:0.0
java解题(借鉴的优质解) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class DGdemo1{ public static class Main { …… 题解列表 2024年04月02日 0 点赞 0 评论 337 浏览 评分:0.0
字符串连接 摘要:解题思路:先输入两个字符串,然后调用stract(字符连接函数),输出即可;注意事项:字符串长度可以按题目要求来,这里题目没有要求可自己定义。下面解法,娱乐一下不是真正的解法不过这题是能过。参考代码:…… 题解列表 2024年04月02日 0 点赞 0 评论 335 浏览 评分:0.0
正则表达式的方法 摘要:解题思路:注意事项:参考代码:import res = input()a = re.findall(r"\w*",s)b = re.match(r"^[a-zA-Z_]",s)if len(a) ==…… 题解列表 2024年04月02日 0 点赞 0 评论 288 浏览 评分:0.0