C语言训练-邮票组合问题* 摘要:解题思路:双重for循环找到两种邮票的任意组合,排除都为0的情况,用数组记录邮费,同时排除邮费重复的情况,返回数组号注意事项:参考代码:#include <stdio.h>int main(){ …… 题解列表 2022年03月10日 0 点赞 0 评论 464 浏览 评分:0.0
1431: 蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:n = eval(input()) l = list(map(int, input().split())) s = 0 while True: for i…… 题解列表 2022年03月10日 0 点赞 0 评论 349 浏览 评分:0.0
写题解 1127: C语言训练-尼科彻斯定理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,b; scanf("%d",&n); printf("%d*%d*%…… 题解列表 2022年03月10日 0 点赞 0 评论 437 浏览 评分:0.0
写题解 1128: C语言训练-排序问题<1> 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int str[4]; for(int i=0;i<4;i++) { scan…… 题解列表 2022年03月10日 0 点赞 0 评论 366 浏览 评分:0.0
写题解 1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n); int str[40]; str[…… 题解列表 2022年03月10日 0 点赞 0 评论 469 浏览 评分:0.0
做题记录2022.3.10(ac:100%) 摘要:解题思路:暴力,但不完全暴力注意事项:参考代码:string = input().strip() length = len(string) max_len = float("-inf") # 参…… 题解列表 2022年03月10日 0 点赞 0 评论 458 浏览 评分:0.0
蛇行矩阵递归解法 摘要:解题思路:设每个数字坐标(x,y),m[x][y]为(x,y)处打印的值,观察下图: 1 3 6 10 15 2 5 9 14 4 8 13 7 12 11 举个例子: 2下面是4,左边…… 题解列表 2022年03月10日 0 点赞 0 评论 500 浏览 评分:0.0
蓝桥杯算法提高VIP-欧拉函数 (Java代码) 摘要:import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Scanner; public cl…… 题解列表 2022年03月10日 0 点赞 0 评论 403 浏览 评分:0.0
编写题解 1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:解题思路:注意事项:参考代码://// Created by ch'li'sen on 2022/3/8.//#include<iostream>using namespace std…… 题解列表 2022年03月10日 0 点赞 0 评论 347 浏览 评分:0.0
2009: 第一个带类的C++程序 摘要:C++ 类的简单运用。#include <bits/stdc++.h> using namespace std; class time{ private: int …… 题解列表 2022年03月10日 0 点赞 0 评论 431 浏览 评分:0.0