蓝桥杯2021年第十二届国赛真题-二进制问题 -- 数位dp 摘要:```cpp #include #include using namespace std; const int N = 100; long long f[N][N]; long l…… 题解列表 2022年05月19日 0 点赞 0 评论 761 浏览 评分:0.0
1045: [编程入门]自定义函数之整数处理(注意特殊情况,尤其容易错!) 摘要:本题的易错点在于,当你把最大值放在首位的时候,先换了最小值,最大值不在原来的位置了,后换最大值的时候就出错了;最小值同理; ```c #include int zchuli(int a[])…… 题解列表 2022年05月19日 0 点赞 0 评论 413 浏览 评分:0.0
防御力—详细注释,易懂版本 摘要:``` import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2022年05月19日 0 点赞 0 评论 596 浏览 评分:9.9
利用if对输出结果进行判断 摘要:解题思路:利用if判断输出结果即可注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; while(~scanf("%d%d", &a, &b…… 题解列表 2022年05月19日 0 点赞 0 评论 335 浏览 评分:0.0
带参数宏定义练习 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define reverse1(m) x2#define reverse2(n) x1int main(){ int x1,x2; s…… 题解列表 2022年05月19日 0 点赞 0 评论 472 浏览 评分:9.9
输入超过三位数的简单思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, s, g; scanf("%d", &a); b = a / 100; s…… 题解列表 2022年05月19日 0 点赞 0 评论 395 浏览 评分:0.0
编写题解 1033: [编程入门][C语言]自定义函数之字符提取 摘要:#include<stdio.h> void check(char a[]) { int i; int fg1=0,fg2=0,fg3=0,fg4=0,fg5=0;//在循环外定义,用来使…… 题解列表 2022年05月19日 0 点赞 0 评论 415 浏览 评分:9.9
[编程入门]C语言循环移位 摘要:解题思路:注意事项:参考代码://程序名:新的C++程序//作者: #include<iostream>#include<fstream>#include<algorithm>using namesp…… 题解列表 2022年05月19日 0 点赞 0 评论 454 浏览 评分:10.0
[编程入门]二进制移位练习 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<cmath>using namespace std;vector<int> arr;…… 题解列表 2022年05月19日 0 点赞 0 评论 323 浏览 评分:0.0