题解列表
[编程入门]电报加密
摘要:解题思路:注意事项:参考代码:a=input()b=[]for i in a: if i>='a' and i<'z'or i>='A' and ……
题解 2226: 蓝桥杯算法训练-排序(C语言——三目运算符求解)
摘要: #include
#include
#include
int main()
{
int m,n,k,max,mid,min;
scanf("%d %d ……
蓝桥杯2014年第五届真题-兰顿蚂蚁 c++代码
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#define max 101
int n,m,a[max][max],x,y,k;
char s;
int X[5]={0,……
1463: 蓝桥杯基础练习VIP-Sine之舞 C++头疼的递归
摘要:解题思路:递归嵌套,关键只是要看懂题目给出的公式到底是什么东西(给的数据真的很难猜啊)注意事项: A1= sin(1) A2 = sin(1-sin(2)) ……
字符串的查找删除-题解(C++代码)(不知为何检查不多,有没有大佬帮忙解决一下)
摘要:#include <iostream>
#include <string>
using namespace std;
string upper_string(string s) {
for ……
1037: [编程入门]宏定义的练习
摘要:解题思路:和上一题一样,主要是为了练习宏定义的格式。注意事项:无,甚至不用写注释。参考代码:#include <iostream>
#define REMAINDER(num1, num2) (……
1036: [编程入门]带参数宏定义练习
摘要:解题思路:写一个宏,包含两个实参,内容是用另一个temp来交换这两个实参。注意事项:temp要定义出来,否则无法使用宏。参考代码:#include <iostream>
#define Swap……