1051: [编程入门]结构体之成绩统计2 摘要:先把数据读进来,然后遍历所有学生数据,保存最高分学生数据,分别保存所有学生三科成绩,输出时使用了accumulate()函数。#include<bits/stdc++.h> using namesp…… 题解列表 2021年12月11日 0 点赞 0 评论 394 浏览 评分:0.0
蓝桥杯算法提高VIP-扑克排序(C++) multiset 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<set> using namespac…… 题解列表 2021年12月11日 0 点赞 0 评论 460 浏览 评分:0.0
[编程入门]求和训练题解(C语言) 摘要:参考代码: 求和训练题解 #include in…… 题解列表 2021年12月11日 0 点赞 1 评论 516 浏览 评分:0.0
日期排序(C++) multiset 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<set> #include<string> using namespac…… 题解列表 2021年12月11日 0 点赞 0 评论 380 浏览 评分:0.0
字符提取-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int j,temp; char n[1000],m[1000]; gets…… 题解列表 2021年12月11日 0 点赞 0 评论 311 浏览 评分:0.0
题解 1393: 钟神赛车笑死,漏洞这也行,正确理解 摘要:解题思路:“假设钟神体力无限无损耗求钟神最多能挣多少钱”这句话很关键,说明钟神不会输钱,只会打平和挣钱这两种。注意事项:参考代码:#include <stdio.h>int main(){ int a…… 题解列表 2021年12月11日 0 点赞 0 评论 521 浏览 评分:0.0
1013: [编程入门]Sn的公式求和 摘要:import java.io.*; /** * Java 提供的 String 与 int 相互转换的方法解决这题十分方便 */ public class Main { …… 题解列表 2021年12月11日 0 点赞 0 评论 276 浏览 评分:0.0
1014: [编程入门]阶乘求和 摘要:import java.io.*; /** * 写一个计算阶乘的方法,再循环求和 * 踩坑:计算的结果有一个大数!用 long 来保存阶乘的结果! */ public clas…… 题解列表 2021年12月11日 0 点赞 0 评论 272 浏览 评分:0.0
1017: [编程入门]完数的判断 摘要:思路是从 1 到 n 挨个处理,保存其所有因数(除了自身),最后所有因数和与自身比较,如果相等则为完数。#include<bits/stdc++.h> using namespace std; …… 题解列表 2021年12月11日 0 点赞 0 评论 257 浏览 评分:0.0
1063: 二级C语言-统计字符 摘要:#include<bits/stdc++.h> using namespace std; int main(){ string words; getline(cin,wo…… 题解列表 2021年12月11日 0 点赞 0 评论 271 浏览 评分:0.0