题解列表

筛选

干就完了,bro

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <vector>#include <algorithm>using names……

干就完了,bro

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <deque>using namespace std;deque<char> ……

数字接龙-暴力

摘要:注意事项:找到一个答案就停止深度遍历避免超时参考代码:#include<bits/stdc++.h>usingnamespacestd;type……

巧用string和map

摘要:解题思路:利用string特性就行,然后用map来计数参考代码:#include<bits/stdc++.h>usingnamespacestd;map&l……

3311:排队(Java语言)

摘要:解题思路:用BufferedReader读取比Scanner节省时间和内存注意事项:题目描述:没有比x更高的同学,其实应该是比x低参考代码:importjava.io.BufferedRe……

矩阵转置(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&……

盐水的故事(模拟)

摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){……

十五届省赛真题-R 格式

摘要:解题思路:找到小数点位置并移除小数点移除前导0将字符串转换为整数数组通过n次乘以2来实现乘以2^n计算新的小数点位置进行四舍五入操作截断小数部分,只保留整数部分输出结果参考代码:#include&nb……