班级人数(模拟) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ d…… 题解列表 2025年04月03日 0 点赞 0 评论 404 浏览 评分:0.0
生日日数(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;boolisleap(int…… 题解列表 2025年04月03日 0 点赞 0 评论 428 浏览 评分:0.0
十五届省赛真题-R 格式 解题思路:找到小数点位置并移除小数点移除前导0将字符串转换为整数数组通过n次乘以2来实现乘以2^n计算新的小数点位置进行四舍五入操作截断小数部分,只保留整数部分输出结果参考代码:#includeusingnamespacestd;voidmultiplyBy2ToN(st 题解列表 2025年04月03日 9 点赞 0 评论 2220 浏览 评分:10.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 评论 531 浏览 评分:0.0
王牌花色"A不应该是最大的吗?“ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int getCardValue(char card) { &n…… 题解列表 2025年04月04日 0 点赞 0 评论 506 浏览 评分:0.0
3311:排队(Java语言) 摘要:解题思路:用BufferedReader读取比Scanner节省时间和内存注意事项:题目描述:没有比x更高的同学,其实应该是比x低参考代码:importjava.io.BufferedRe…… 题解列表 2025年04月05日 0 点赞 0 评论 567 浏览 评分:0.0
巧用string和map 摘要:解题思路:利用string特性就行,然后用map来计数参考代码:#include<bits/stdc++.h>usingnamespacestd;map&l…… 题解列表 2025年04月05日 1 点赞 0 评论 610 浏览 评分:10.0
数字接龙-暴力 摘要:注意事项:找到一个答案就停止深度遍历避免超时参考代码:#include<bits/stdc++.h>usingnamespacestd;type…… 题解列表 2025年04月05日 5 点赞 1 评论 1630 浏览 评分:10.0