Hello, World!给个好评 摘要:解题思路:注意事项:参考代码:#include<iosteam> using namespace std; int main() …… 题解列表 2023年11月20日 0 点赞 1 评论 303 浏览 评分:6.3
蓝桥杯2024年第十五届决赛真题-最小字符串 摘要:#贪心+二路归并 ```cpp #include #include #include using namespace std; int main(void) { ios::sync_w…… 题解列表 2024年09月13日 2 点赞 2 评论 1221 浏览 评分:6.3
C语言程序设计教程(第三版)课后习题6.7 (C++代码)(经常这样写会不会被打死) 摘要:解题思路:完全数好像真的很少,,6,28,496,8128,33550336,,目测只会考前四个,,,剩下的估计正常算1s之内跑不完程序,,所以无脑直接输出啊hhhhhhh注意事项:出乎意料的,,竟然…… 题解列表 2017年07月30日 57 点赞 40 评论 3295 浏览 评分:6.4
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 (C++代码)(手动优化一下计算) 摘要:解题思路:按照列竖式计算差不多的思路完成,优化一下计算。注意事项:循环次数参考代码:#include <stdio.h> int main() { int a, n, i, ans; …… 题解列表 2017年08月24日 1 点赞 0 评论 2101 浏览 评分:6.4
求圆的面积 (C语言代码) 摘要:解题思路:没什么好说的,直接使用scanf(输入格式函数)printf(输出格式函数)就行注意事项:编译错误还是一样,注意语句结束的分号,注意函数里面分号后面要加逗号(如果使用“”后面输入变量的形式)…… 题解列表 2018年04月28日 3 点赞 4 评论 2382 浏览 评分:6.4
优质题解 【偶数求和】 (C语言描述代码精简【公式法】) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int function(int n,int m); int main() { int n,m; while(sc…… 题解列表 2018年05月09日 7 点赞 1 评论 1852 浏览 评分:6.4
矩阵最大值 (C++代码)可AC 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main(){ int m,n; while(cin>>n…… 题解列表 2018年08月09日 3 点赞 0 评论 1771 浏览 评分:6.4
核电站问题 (C语言代码) 摘要:解题思路:注意事项:参考代码://按树的思路//连续两个都建站 则第三个不能建 /* 0 &nbs 题解列表 2019年04月14日 1 点赞 0 评论 1755 浏览 评分:6.4
求10个数中大于其平均值的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, n = 0; float sum = 0, p, a[10]; for(i = …… 题解列表 2019年04月15日 0 点赞 0 评论 1037 浏览 评分:6.4
数据结构-有向无环图的拓扑排序 (C语言代码) 摘要:解题思路:注意事项:样例可以通过参考代码:#include<iostream> #include<stack> using namespace std; #define ERROR -1 #d…… 题解列表 2019年04月29日 0 点赞 0 评论 1728 浏览 评分:6.4