信息学奥赛一本通T1279-橱窗布置 dfs+剪枝 摘要:解题思路:由于本人不会dp所以来一发dfs解题,哈哈哈注意事项:参考代码:#include"bits/stdc++.h"usingnamespacest…… 题解列表 2025年04月03日 0 点赞 0 评论 244 浏览 评分:0.0
1014: 阶乘求和题解(递归) 摘要:**解题思路:** 使用递归的方法定义一个求阶乘的函数来计算。**注意事项:** 需要将 int 整形改为 long long int 长整形型,否则可能出现测试 2 答案错误的情况。…… 题解列表 2025年04月03日 2 点赞 0 评论 985 浏览 评分:0.0
班级人数(模拟) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ d…… 题解列表 2025年04月03日 0 点赞 0 评论 145 浏览 评分:0.0
生日日数(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;boolisleap(int…… 题解列表 2025年04月03日 0 点赞 0 评论 142 浏览 评分:0.0
盐水的故事(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){…… 题解列表 2025年04月04日 0 点赞 0 评论 145 浏览 评分:0.0
矩阵转置(模拟) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&…… 题解列表 2025年04月04日 0 点赞 0 评论 177 浏览 评分:0.0
求大佬看看哪里错了,自己运行的答案是对的,但是测试有错误 摘要:解题思路:注意事项:参考代码:#define_CRT_SECURE_NO_WARNINGS#include<stdio.h>intmain(){ i…… 题解列表 2025年04月04日 0 点赞 0 评论 183 浏览 评分:0.0
王牌花色"A不应该是最大的吗?“ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int getCardValue(char card) { &n…… 题解列表 2025年04月04日 0 点赞 0 评论 220 浏览 评分:0.0
3311:排队(Java语言) 摘要:解题思路:用BufferedReader读取比Scanner节省时间和内存注意事项:题目描述:没有比x更高的同学,其实应该是比x低参考代码:importjava.io.BufferedRe…… 题解列表 2025年04月05日 0 点赞 0 评论 264 浏览 评分:0.0
干就完了,bro 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <deque>using namespace std;deque<char> …… 题解列表 2025年04月06日 0 点赞 0 评论 162 浏览 评分:0.0