题解列表

筛选

搜索dfs+暴力

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int len;string ans = "";int jaa(int x, in……

不难不难用好字符串

摘要:解题思路:注意事项:参考代码:s=input()##print()if s[-2:]==&#39;er&#39;:    print(s[:-2])elif s[-2:]==&#39;ly&#39;:……

删除单词后缀

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {        Scanner scanne……

模拟分类(标题不能太短)

摘要:# 模拟分类 ## 解题思路 举个例子: 假设要找区间[1, 123456789]中所有的好数之和: 1. 假设`2022`出现在最后四位,即我们要求类似于`xxxxx2022`结构的数,思考……

超级玛丽游戏

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

就是数组里面嵌套数组

摘要:#### 统计字符 ##### 总体思路:在用数组嵌套循环统计个字符的个数上,假定一个字符重复的最大值与之比较赋值就行。 1. 首先,我们用while循环实现多组输入。2.然后循环二十六个字符,输……

贷款计算。。。

摘要:解题思路:注意事项:注意单位的换算,本金以万元为单位,但输出是以元为单位。还有是计算第一个月的还款金额,已归还的金额数为零参考代码:#include<iostream>using namespace ……

求平均工资

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n,sum=0,money;    cin>>n;   ……

输出M到N的数

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b;    cin>>a>>b;    if(a>=……