[编程入门]第一个HelloWorld程序!-题解(C语言代码) 摘要:解题思路:必须分三行输出,直接复制粘贴是错误的。注意事项:注意符号的正确性。参考代码:include<stdio.h>int main(){ printf("*******************…… 题解列表 2020年08月05日 0 点赞 0 评论 771 浏览 评分:7.3
[竞赛入门]简单的a+b-题解(C语言代码) 摘要:解题思路:由scanf函数输入数字,a+b可在输出函数中进行。注意事项:注意符号的正确使用。参考代码:#include <stdio.h>int main(){ int a,b; scan…… 题解列表 2020年08月05日 0 点赞 0 评论 545 浏览 评分:0.0
二级C语言-温度转换-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int j,i; for(int i=-100;i<=150;i+=5) {…… 题解列表 2020年08月05日 0 点赞 0 评论 539 浏览 评分:0.0
[编程入门]三个数找最大值-题解(C语言代码) 摘要:解题思路:代码并不是最简,甚至过于繁杂,但应该容易理解。如下,第一个数与第二个数比较,较大者与第三个数比较,输出第二次比较后的最大值。注意事项:注意符号的正确性!参考代码:#include <stdi…… 题解列表 2020年08月05日 0 点赞 0 评论 714 浏览 评分:0.0
蓝桥杯算法提高VIP-身份证号码升级-题解(C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int x[17] = { 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, …… 题解列表 2020年08月05日 0 点赞 0 评论 957 浏览 评分:9.9
信息学奥赛一本通T1268-完全背包问题-题解(C语言代码) 摘要:```c #include//可参考我的上篇01背包问题,更加详细 int max(int x,int y) { if(x>y)return x; else return y; }…… 题解列表 2020年08月05日 0 点赞 0 评论 729 浏览 评分:8.4
蓝桥杯算法训练VIP-黑色星期五-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; #define rn(y) (((y%4==0)&&(y%100!=0))|…… 题解列表 2020年08月05日 0 点赞 0 评论 738 浏览 评分:9.9
信息学奥赛一本通T1267-01背包问题-题解(C语言代码) 摘要:```c #include int max(int x,int y) { if(x>y)return x; else return y; } int main()//注意一点,该…… 题解列表 2020年08月05日 0 点赞 0 评论 1204 浏览 评分:9.9
逆序数-题解(C++代码) 离散化+树状数组 摘要:解题思路:离散化+树状数组典型应用参考代码:#include<bits/stdc++.h> using namespace std; const int N=1e2+3; struct node…… 题解列表 2020年08月05日 0 点赞 0 评论 466 浏览 评分:9.0
[编程入门]实数的打印-题解(C语言代码) 摘要:解题思路:双重循环控制层数及次数注意事项:参考代码:#include<stdio.h>void main(){ int i,j; float x; scanf("%f",&x); …… 题解列表 2020年08月05日 0 点赞 0 评论 423 浏览 评分:0.0