1045题 : 自定义函数之整数处理 摘要:# 自己写的代码(没有写完) ```c #include int shuru(int a[]){ for(int i=0;i max ) { …… 题解列表 2023年07月06日 0 点赞 0 评论 450 浏览 评分:0.0
编程入门]第一个HelloWorld程序 摘要:解题思路:照着题目要求,细心注意换行就行了,cout一行搞定注意事项:换行时注意n前面是\而不是/,另外是单引号参考代码:#include<iostream>using namespace std;i…… 题解列表 2023年07月06日 0 点赞 0 评论 370 浏览 评分:0.0
字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; int i,letter=0,nu…… 题解列表 2023年07月07日 0 点赞 0 评论 342 浏览 评分:0.0
1921: 蓝桥杯算法提高VIP-金陵十三钗 摘要:dfs不剪枝的话会有3个点超时#include<bits/stdc++.h> using namespace std; int like[105][105]; int stu[105]; i…… 题解列表 2023年07月07日 0 点赞 0 评论 626 浏览 评分:0.0
二级C语言-统计字符 摘要:解题思路:定义四个字符,统计字母,空格,数字,其他字符的数量用gets()读取输入的一行所有数据注意事项:在for循环中,开始没注意到,习惯性写了for(i=0;i<=N;i++),这样就会往后读取一…… 题解列表 2023年07月07日 0 点赞 0 评论 367 浏览 评分:0.0
自定义函数 摘要:解题思路:注意事项:很简单,练习练习如何使用自定义方法参考代码:import java.util.Scanner;public class Main2 { public static void …… 题解列表 2023年07月07日 0 点赞 0 评论 421 浏览 评分:0.0
宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define M(a,b,c) a>b?(a>c?a:c):(b>c?b:c)float Max(float m,float n){ …… 题解列表 2023年07月07日 0 点赞 0 评论 354 浏览 评分:0.0
满分dfs(python) 摘要:解题思路:注意事项:参考代码:import functools n,m = map(int, input().split()) @functools.lru_cache(None) def df…… 题解列表 2023年07月07日 0 点赞 0 评论 523 浏览 评分:0.0
桥杯2013年第四届真题-买不到的数目 摘要:##蓝桥杯2013年第四届真题-买不到的数目 ```cpp #include using namespace std; int main() { int m,n,imax,a[10100…… 题解列表 2023年07月07日 0 点赞 0 评论 520 浏览 评分:0.0
C语言训练-斐波纳契数列 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(int argc, char** argv) { int n,a=1,b=1,c; …… 题解列表 2023年07月08日 0 点赞 0 评论 463 浏览 评分:0.0