题解列表
1018: [编程入门]有规律的数列求和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double Sn=0,an=0,n,i,m,a=2.0,b=1.0; scanf("%lf",&n……
(c语言) P1001
摘要:```c
//1.输入
//2.排序
//3.做差
//4.判断差值是否为质数(素数)
//5.输出
#include
long long a[11000]={0};//定义较大的数组需……
Java 简单 容易
摘要:import java.util.Scanner;public class dotcpp1030 { public static void main(String[] args) { ……
简单的a+b(java代码)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args……
Hifipsysta-1052-[编程入门]链表合并(C++代码)循环链表的冒泡排序
摘要:
```cpp
#include
#include
using namespace std;
struct node{
int id;
int score;
……
Hifipsysta-1585-蓝桥杯算法训练VIP-链表数据求和操作(C++代码)真链表数据域求和
摘要:```cpp
#include
using namespace std;
const int MAXN = 100;
struct node{
int real;
in……
1490: 蓝桥杯算法提高VIP-五次方数
摘要:解题思路:注意事项:参考代码:for i in range(2,300000):
s=0
for j in str(i):
s += int(j)**5
……
1084: 用筛法求之N内的素数(c++版)
摘要:** 具体代码:**
```cpp
#include
using namespace std;
int main()
{
int n;
cin >> n;
for (int i ……
1093: 字符逆序(C语言版)
摘要:**具体代码:**
```c
#include
#include
int main()
{
char str[100];
gets(str);
for (int i = strl……