题解列表
完数的判断(Python)
摘要:解题思路:注意事项:要保证时间限制的情况下不能通过暴力求解参考代码:N = int(input())for i in range(2, N) : lst_factors = [1] lim……
这么简单的题还属于中档题?
摘要:解题思路:基本操作注意事项:这有什么注意的,直接五星好评参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); ……
求平均年龄(数组法)
摘要:解题思路:这里只要搞一个数组就可以存储值注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); float a[n……
超详细通俗易懂C++,暴力求解
摘要:参考代码:#include <iostream>
#include <math.h>
using namespace std;
int main()
{
int a,b;
……
2905: 最大值和最小值的差
摘要:```cpp
#include
using namespace std;
int main()
{
int M,max=-10001,min=10001,x;
cin>>M……
编写题解:数的读法【Python】
摘要:解题思路:每四位分开读,具体见代码和注释参考代码:d = {'1':'yi', '2':'er', '3':'s……
1190: 剔除相关数
摘要:```cpp
#include
#include
#include
#include
using namespace std;
mapma;
setse;
struct str
{
……
1479:删除数组中的0元素
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int count = 0;
void CompactIntegers(int a[], int gt); //数组元素,数组元……