2880: 计算鞍点 摘要:```cpp #include using namespace std; int a[10][10],max1,max2,f; bool b=true; int main() { fo…… 题解列表 2023年01月30日 0 点赞 0 评论 402 浏览 评分:6.0
求两个整数的最大公约数和最小公倍数 摘要:解题思路:用草稿研究的 , 适合初学者!想象一个数(变量)按顺序不断同时!求余a和b(==0)得出来的那一个数!就是最大公约数了(max=i);同理如果你知道最小公倍数的定义 这个变量就不断按a和b…… 题解列表 2023年01月31日 0 点赞 1 评论 224 浏览 评分:6.0
1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:```cpp #include using namespace std; int main() { int a,b,x=0,y=0; while(cin>>a>>b) …… 题解列表 2023年01月31日 0 点赞 0 评论 342 浏览 评分:6.0
字符替换C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char beitihuan,tihuanzhe; char a[31]; …… 题解列表 2023年02月01日 0 点赞 0 评论 585 浏览 评分:6.0
1252: 统计立方数 摘要:```cpp #include using namespace std; bool check(int n) { for(int i=1;i*i*i>n&&n) i…… 题解列表 2023年02月03日 0 点赞 0 评论 328 浏览 评分:6.0
编写题解 2858: 整理药名 摘要:参考代码:#include<bits/stdc++.h>using namespace std;char s[1001];int main(){ int l,n; cin>>n; f…… 题解列表 2023年02月09日 0 点赞 6 评论 318 浏览 评分:6.0
题解 2811: 救援 摘要:解题思路:注意事项:参考代码:import math # 调用数学模块 t = 0 n = int(input()) #屋顶数 for i in range(n): a = …… 题解列表 2023年02月09日 0 点赞 0 评论 440 浏览 评分:6.0
2128: 信息学奥赛一本通T1264-合唱队形 摘要:解题思路:运用动态规划解此题!!!注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[1005],b[1005],c[1005…… 题解列表 2023年02月10日 0 点赞 0 评论 306 浏览 评分:6.0
1000: [竞赛入门]简单的a+b 摘要:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: break…… 题解列表 2023年02月11日 0 点赞 0 评论 1686 浏览 评分:6.0
[编程入门]二进制移位练习-题解(Python代码) 摘要:解题思路: 使用进制转换函数注意事项: 熟记进制转换函数参考代码:if __name__ == '__main__': n = int(input()) t =…… 题解列表 2023年02月13日 0 点赞 0 评论 417 浏览 评分:6.0