题解列表

筛选

用数组很简单

摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#pragma warning(disable:6031)#include<stdio.h>int main……

1062: 二级C语言-公约公倍

摘要:解题思路:注意事项:注意两个数据是一次输入还是分两次输入参考代码:a  = list(map(int, input().split()))if len(a) < 2:    a.append(int(……

简单最大数

摘要:解题思路:注意事项:参考代码://#define _CRT_SECURE_NO_WARNINGS//#pragma warning(disable:6031)#include<iostream>usi……

java实现扫雷,利用炸弹位置进行计算

摘要:解题思路:利用炸弹位置来计算,先把炸弹的坐标存list里,然后再计算炸弹周围的数量,++即可注意事项:计算数量的时候要注意判断位置的时候,要先判断位置合理性,然后判断不可在自己的位置参考代码:impo……

题解 3013: 求小数的某一位

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b,n,c;    cin>>a>>b>……

题解 3013: 求小数的某一位

摘要:解题思路:用for循环来模拟除法的过程注意事项:注意:本题不需要浮点型,用sum累加器存储商,最后输出  。                                              ……

3013: 求小数的某一位

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long a,b,n,c;    cin>……

2818: 分离整数的各个数位

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long a;    cin>>a;   ……

题解 2819: 数字反转

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    /*way1    long long a;    ……