1485: 蓝桥杯算法提高VIP-Torry的困惑(提高型)(C语言版) 摘要:```c #include void main() { long n; long long sum = 1; long time = 0; scanf("…… 题解列表 2022年02月13日 0 点赞 0 评论 458 浏览 评分:0.0
1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void count(char s[]);int main() { char s[100]; gets(s); count(s); re…… 题解列表 2022年02月13日 0 点赞 0 评论 399 浏览 评分:0.0
1131: C语言训练-斐波纳契数列 摘要:解题思路:递归注意事项:参考代码:#include<stdio.h>int main(){ int a[40]={1,1}; int i=0,N; scanf("%d",&N); for(i=…… 题解列表 2022年02月13日 0 点赞 0 评论 379 浏览 评分:0.0
[编程入门]自定义函数之字符串连接,简单粗暴,通俗易懂。看一眼就懂 摘要:解题思路:前段时间看到大家对这题有争议,这次我来一无脑解法注意事项:注意把多于的0跳过参考代码:#include<stdio.h>#include<string.h>int main(){ cha…… 题解列表 2022年02月13日 0 点赞 0 评论 704 浏览 评分:7.3
蓝桥杯算法提高VIP-3000米排名预测(C++语言) 摘要:#include<iostream> using namespace std; //存储每次递归后对应的排列情况 int a[12]; //标记数组 vis[12]; //存储围观党的判…… 题解列表 2022年02月14日 0 点赞 0 评论 833 浏览 评分:9.9
1574: 蓝桥杯算法提高VIP-选择排序(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; void pai(int a[],int i,int n) { int min=…… 题解列表 2022年02月14日 0 点赞 0 评论 357 浏览 评分:0.0
2131: 信息学奥赛一本通T1267-01背包问题(python代码) 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split()) ls=[[0,0]] #存储重量和价值 for i in range(n): …… 题解列表 2022年02月14日 0 点赞 0 评论 643 浏览 评分:0.0
笨蛋方法(c语言) 摘要:解题思路:把数轴转化成足够长的数组并初始化为0,在每一次输入区域范围时,位于范围内的a[i]J减一,最后统计数值为0的a[i]注意事项:a[i]的长度要足够,不然会崩。参考代码:#include <s…… 题解列表 2022年02月14日 0 点赞 0 评论 545 浏览 评分:0.0
2132: 信息学奥赛一本通T1268-完全背包问题 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split()) ls=[[0,0]] for i in range(n): ls.append(list(map(…… 题解列表 2022年02月14日 0 点赞 0 评论 515 浏览 评分:9.9
不用我多说了吧 摘要:解题思路:直接输出hello dotcpp注意事项:这是python print不要加f,参考代码:print(“Hello dotcpp”)…… 题解列表 2022年02月14日 0 点赞 0 评论 614 浏览 评分:9.9