1014: 阶乘求和题解(递归) 摘要:**解题思路:** 使用递归的方法定义一个求阶乘的函数来计算。**注意事项:** 需要将 int 整形改为 long long int 长整形型,否则可能出现测试 2 答案错误的情况。…… 题解列表 2025年04月03日 2 点赞 0 评论 1398 浏览 评分:0.0
班级人数(模拟) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ d…… 题解列表 2025年04月03日 0 点赞 0 评论 403 浏览 评分:0.0
生日日数(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;boolisleap(int…… 题解列表 2025年04月03日 0 点赞 0 评论 428 浏览 评分:0.0
盐水的故事(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){…… 题解列表 2025年04月04日 0 点赞 0 评论 428 浏览 评分:0.0
矩阵转置(模拟) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&…… 题解列表 2025年04月04日 1 点赞 0 评论 464 浏览 评分:0.0
求大佬看看哪里错了,自己运行的答案是对的,但是测试有错误 摘要:解题思路:注意事项:参考代码:#define_CRT_SECURE_NO_WARNINGS#include<stdio.h>intmain(){ i…… 题解列表 2025年04月04日 0 点赞 0 评论 527 浏览 评分:0.0
王牌花色"A不应该是最大的吗?“ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int getCardValue(char card) { &n…… 题解列表 2025年04月04日 0 点赞 0 评论 505 浏览 评分:0.0
3311:排队(Java语言) 摘要:解题思路:用BufferedReader读取比Scanner节省时间和内存注意事项:题目描述:没有比x更高的同学,其实应该是比x低参考代码:importjava.io.BufferedRe…… 题解列表 2025年04月05日 0 点赞 0 评论 566 浏览 评分:0.0
干就完了,bro 解题思路:注意事项:参考代码:#include#includeusingnamespacestd;dequeresult;dequedeq;/*voidinIt(strings){for(charc:s){result.push_back(c) 题解列表 2025年04月06日 0 点赞 0 评论 414 浏览 评分:0.0
干就完了,bro 解题思路:注意事项:参考代码:#include#include#includeusingnamespacestd;intmain(intargc,charconst*argv[]){std::ios::sync_with_stdio(false 题解列表 2025年04月06日 0 点赞 0 评论 402 浏览 评分:0.0