c++ 400ms以内 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; for (i…… 题解列表 2025年11月06日 1 点赞 0 评论 297 浏览 评分:0.0
二维数组直接解了 摘要:解题思路:二维数组,for循环嵌套注意事项:不要把值输错了,只能在for循环内进行,其实就是颠倒行 和 列参考代码:#include<iostream>using namespace st…… 题解列表 2025年11月06日 0 点赞 0 评论 280 浏览 评分:0.0
邪修xxxxxxxxxxxxxxxx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年11月06日 0 点赞 0 评论 253 浏览 评分:0.0
CCCCCCCCCCCCCCCCCCCCCCCC++++++++++++++++++++++++++++++++++ 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 373 浏览 评分:0.0
简单易懂小代码,两个循环解决问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h, w; char str1[] = {'…… 题解列表 2025年11月05日 6 点赞 0 评论 515 浏览 评分:10.0
整数序列的元素最大跨度值 ———— STL解法 摘要:解题思路:使用具有C++特色的vector<>容器来代替数组使用,同时使用迭代器,调用STL…… 题解列表 2025年11月04日 0 点赞 0 评论 187 浏览 评分:0.0
2822两种思路c++ 摘要:思路1 从第一项开始#include <iostream>#include <iomanip>using namespace std;int main() { int fz =…… 题解列表 2025年11月03日 0 点赞 0 评论 159 浏览 评分:0.0
c++加注释版 摘要:#include <iostream>using namespace std;int main() { int k; cin >> k; if (k == 1 || k == …… 题解列表 2025年11月02日 0 点赞 0 评论 215 浏览 评分:0.0