2861: 验证子串 摘要:解题思路:注意事项:参考代码: #include <bits/stdc++.h> using namespace std; typedef long long ll; int …… 题解列表 2024年07月14日 0 点赞 0 评论 245 浏览 评分:0.0
题解 2861: 验证子串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ string s,s1; cin>>s>>s1; if(s…… 题解列表 2024年07月14日 0 点赞 0 评论 226 浏览 评分:0.0
2860: 字符串判等 摘要:解题思路:注意事项:参考代码: #include <bits/stdc++.h> using namespace std; typedef long long ll; int …… 题解列表 2024年07月14日 0 点赞 0 评论 297 浏览 评分:9.9
题解 2860: 字符串判等 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ string s,s1="",ss,ss1=""; …… 题解列表 2024年07月14日 0 点赞 0 评论 361 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题7.3 摘要:解题思路和注意事项::1、要输入3×3的矩阵,我们很容易想到要先定义一个二维数组,定义格式为arr[3][3];2、定义之后就用for循环输入矩阵,要注意数组的下表是从0开始,且不能超过3;3、主对角…… 题解列表 2024年07月14日 0 点赞 0 评论 422 浏览 评分:9.9
高精度计算用Python爽到爆 摘要:from decimal import Decimal, getcontext # 设置小数点后的精度 getcontext().prec = 500 # 输入两个浮点数并转换为Decimal类…… 题解列表 2024年07月14日 0 点赞 0 评论 332 浏览 评分:0.0
大数计算用Python爽到爆 摘要:import sys sys.set_int_max_str_digits(50000000)# 增加到50000000位 n=int(input()) s=1 for i in range(…… 题解列表 2024年07月14日 0 点赞 0 评论 329 浏览 评分:9.9
一行代码解决 摘要:print(len([i for i in list(map(int, input().split())) if i & (i - 1) == 0]) if input() else 0)…… 题解列表 2024年07月14日 5 点赞 3 评论 1639 浏览 评分:9.0
浮点数据类型大小 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; short b; printf("%d %d",sizeof(a),sizeof…… 题解列表 2024年07月14日 0 点赞 0 评论 394 浏览 评分:0.0
1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:**问题描述:**读入10个复数,建立对应链表,然后求所有复数的和。 **解题思路:** 1.创建链表 2.使用链表 3.销毁链表 代码如下: ```c #include #…… 题解列表 2024年07月13日 0 点赞 0 评论 524 浏览 评分:9.9