2876: 矩阵交换行 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月26日 0 点赞 0 评论 282 浏览 评分:0.0
题解 2876: 矩阵交换行 摘要:#include <bits/stdc++.h>using namespace std;const int N = 1e1;typedef long long ll;ll a[N][N];int ma…… 题解列表 2024年05月26日 0 点赞 0 评论 190 浏览 评分:0.0
1039-宏定义闰年判断c++ 摘要:原题链接:[https://www.dotcpp.com/oj/problem1039.html](https://www.dotcpp.com/oj/problem1039.html) 参考代…… 题解列表 2024年05月26日 0 点赞 0 评论 514 浏览 评分:10.0
2352: 信息学奥赛一本通T1440-数的划分 深搜 摘要:# 思路  # 代码 ```cpp #include …… 题解列表 2024年05月25日 0 点赞 0 评论 332 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:杨辉三角形满足完全平方公式((a+b)²=a²+2ab+b²)可以根据这个公式写程序注意事项:开数组时多开一些,防止越界参考代码:#include <bits/stdc++.h>//万能头文…… 题解列表 2024年05月25日 0 点赞 0 评论 203 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:注意事项:注意const int N=1e3+5不是1e3如果是1e3会数据越界参考代码:#include <bits/stdc++.h>using namespace std;typede…… 题解列表 2024年05月25日 0 点赞 0 评论 272 浏览 评分:9.9
编写题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,g,s,b;for(int i=100;i<100…… 题解列表 2024年05月25日 0 点赞 0 评论 172 浏览 评分:0.0
统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,t=0;cin>>a;int q,b,x,g,s;…… 题解列表 2024年05月24日 0 点赞 0 评论 375 浏览 评分:0.0
1075: 台球碰撞 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; double l,w,x,y,r,a,v,s; i…… 题解列表 2024年05月24日 1 点赞 0 评论 312 浏览 评分:9.9
编写题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,a,b,s=0,max=0; cin>>n; fo…… 题解列表 2024年05月23日 0 点赞 0 评论 278 浏览 评分:0.0