数列排序(超时了,啊!!!) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n; cin>>n;int a[n][9], b…… 题解列表 2023年06月28日 0 点赞 0 评论 519 浏览 评分:9.9
数组模拟计算,嘎嘎猛,思维难度低, 摘要:怎么模拟进位呢? 比如有一个数组a[100] , a[1]表示个位数上的数值,a[2]表示十位数的数值,以此类推。 初始化数组中每个元素为0,再给a[1]赋值。假设a[1]=3,定义一个int型变…… 题解列表 2023年06月27日 0 点赞 1 评论 493 浏览 评分:9.9
查找最大元素(没用向量,简单写法,但是时间复杂度大) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<string>using namespace std;int main(){ string s,s1; …… 题解列表 2023年06月27日 0 点赞 0 评论 449 浏览 评分:9.9
C++简单解含k个3的数 摘要:#### 解题思路 先设置一个循环对输入的m进行取模,如果它等于3,那么count计数器就++; 然后再通过逻辑表达式对满足条件的的m进行判断(输出"YES"还是"NO") #### 注意事项 …… 题解列表 2023年06月26日 0 点赞 0 评论 1044 浏览 评分:8.2
最大公约数与最小公倍数 函数算法 摘要:解题思路:简单题 想想就好了注意事项:参考代码:#include<iostream>using namespace std;int max(int m,int n){ int a = 0; if (m…… 题解列表 2023年06月25日 0 点赞 0 评论 293 浏览 评分:0.0
台球碰撞(看题解自己敲啦一遍,题解写的真好【开心】) 摘要:解题思路:注意事项:acos(-1)=π,数学要学好啊!参考代码:#include#include#includeusing namespace std; int main() { int L,…… 题解列表 2023年06月25日 0 点赞 0 评论 430 浏览 评分:9.9
谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,sum=0; cin>>n; for(i…… 题解列表 2023年06月24日 0 点赞 0 评论 418 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2023年06月24日 0 点赞 0 评论 362 浏览 评分:0.0
xiexie nuwhdxpigdx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,sum=0; cin>>n; for(i…… 题解列表 2023年06月24日 0 点赞 0 评论 339 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(in…… 题解列表 2023年06月24日 0 点赞 0 评论 348 浏览 评分:0.0