蓝桥杯算法训练-最大最小公倍数-题解(C++代码) 摘要:注意开long long,否则50分~~~ ```cpp #include using namespace std; int main() { long long n; cin …… 题解列表 2020年12月22日 0 点赞 0 评论 684 浏览 评分:7.3
素数回文-题解(Python代码) 摘要:```python a,b = map(int,input().split()) for i in range(a,b+1): if i > 1: for j in r…… 题解列表 2020年12月22日 0 点赞 0 评论 465 浏览 评分:0.0
蓝桥杯2017年第八届真题-日期问题-题解(C++代码) 摘要:```cpp #include #include #include #include using namespace std; int days[13] = {0, 31,…… 题解列表 2020年12月22日 0 点赞 0 评论 523 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要:解题思路:首先,1】可以硬解,2】使用宏定义 3】使用指针 注意事项:参考代码:#include <stdio.h>int main(){ int a[3] ,t ,i = 0,j = 0; scan…… 题解列表 2020年12月21日 0 点赞 0 评论 184 浏览 评分:0.0
P1036-题解(Python代码)不知道运行超时没有?有待改善 摘要:```python n = int(input()) a = [] c = [] for i in range(n): b =input() a.append(b) …… 题解列表 2020年12月21日 0 点赞 0 评论 410 浏览 评分:0.0
C语言训练-阿姆斯特朗数-题解(Python代码) 摘要:```python for i in range(2,1000): b = 0 s = i sum = 0 #得到各位数存放在列表(此处要定义a这个空列表) …… 题解列表 2020年12月21日 0 点赞 0 评论 583 浏览 评分:9.9
C语言训练-求具有abcd=(ab+cd)2性质的四位数-题解(Python代码) 摘要:```python (此题) for i in range(1000,10000): n = int(i/100) #求前两位 m = int(i%100) …… 题解列表 2020年12月21日 0 点赞 0 评论 688 浏览 评分:0.0
[编程入门]带参数宏定义练习-题解(C语言代码) 摘要:解题思路:#define 只是简单的替换注意事项:参考代码:#include <stdio.h> #include<string.h>#define f(x,y) a = x;x = y;y = a…… 题解列表 2020年12月21日 0 点赞 0 评论 343 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计-题解(C语言代码) 摘要:解题思路: 建议用头文件或者相应的使用字符判断(不一定要背得ascii)ii注意事项:参考代码:#include <stdio.h> #include<string…… 题解列表 2020年12月21日 0 点赞 0 评论 256 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:在指针层面操作注意事项:参考代码:#include <stdio.h>#include<string.h>void au(char a[100]);int main(){ char a[10…… 题解列表 2020年12月21日 0 点赞 0 评论 200 浏览 评分:0.0