求N内的素数(Java语言) 摘要:解题思路:注意事项:参考代码:import java.io.*; import java.util.*; public class Main { public static void…… 题解列表 2022年03月12日 0 点赞 0 评论 350 浏览 评分:0.0
如果全为负数,这个测试测不出来 摘要: int n,m; int pre = 0; int current = 0; int flag=0; int firstnum=INT_MIN; int temp_n; if…… 题解列表 2022年03月12日 0 点赞 0 评论 390 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:while True: n = int(input()) a = b= c = 0 sum = d = 1 for i in range(n-1)…… 题解列表 2022年03月12日 0 点赞 0 评论 744 浏览 评分:8.0
循环链表解法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<bits/stdc++.h>using namespace std;int main(){ typedef st…… 题解列表 2022年03月12日 0 点赞 0 评论 374 浏览 评分:0.0
1592: 蓝桥杯算法训练VIP-FBI树 摘要:[https://www.dotcpp.com/oj/problem1592.html](https://www.dotcpp.com/oj/problem1592.html) - 思路 …… 题解列表 2022年03月12日 0 点赞 0 评论 523 浏览 评分:9.9
蛇行矩阵--根据数字规律 摘要:解题思路:注意事项:参考代码:n=int(input())list=list(range(1,int((n*n+n)/2)+1))for j in range(1,n+1): for i in …… 题解列表 2022年03月12日 0 点赞 0 评论 439 浏览 评分:9.9
队列操作(链队列解法) 摘要: #include #include typedef struct linknode{ int data; struct linknode *next…… 题解列表 2022年03月12日 0 点赞 0 评论 490 浏览 评分:0.0
C++简短小白解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long int i,item,sum=0;…… 题解列表 2022年03月12日 0 点赞 0 评论 396 浏览 评分:0.0
和为给定数 摘要:``` import java.util.Arrays; import java.util.Scanner; public class Demo2176 { public static …… 题解列表 2022年03月12日 0 点赞 0 评论 706 浏览 评分:7.0
DFS啊啊啊啊啊啊!!! 摘要:```cpp #include using namespace std; int n; int vis[100][100] = {0}; char arr[100][100]; int b…… 题解列表 2022年03月12日 0 点赞 0 评论 582 浏览 评分:9.9