蓝桥杯算法提高VIP-计算质因子 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;bool isprime(int x) { //判断质数 for(int i …… 题解列表 2022年05月08日 0 点赞 0 评论 495 浏览 评分:2.0
Jam的计数法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long LL;namespace IO{ inli…… 题解列表 2022年05月08日 0 点赞 0 评论 659 浏览 评分:0.0
编写题解 1018: [编程入门]有规律的数列求和 摘要:解题思路:奥妙注意事项:参考代码:#include "stdio.hint main() { int n; float sum=0.0,a=2.0,b=1.0; scanf("%d"…… 题解列表 2022年05月08日 0 点赞 0 评论 515 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char L[10001]={0}; int a…… 题解列表 2022年05月08日 0 点赞 0 评论 544 浏览 评分:0.0
经典背包问题 摘要:import java.io.*; public class Main { static BufferedReader bf=new BufferedReader(new InputStre…… 题解列表 2022年05月08日 0 点赞 1 评论 597 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {…… 题解列表 2022年05月08日 0 点赞 0 评论 470 浏览 评分:0.0
1096: Minesweeper 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define MAX 100 // 地图最大尺寸 using namespace std; char position[M…… 题解列表 2022年05月08日 0 点赞 0 评论 590 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main () { int cow[56] = {0,1,2,3,…… 题解列表 2022年05月08日 0 点赞 0 评论 471 浏览 评分:0.0
while循环求解 摘要:解题思路:求每一位数的3次方的和注意事项:由于输入的数被/10了3次,所有最后在比对的时候用的是一开始赋值的b参考代码:#include "stdio.h"#include "math.h"int m…… 题解列表 2022年05月08日 0 点赞 0 评论 574 浏览 评分:0.0
信息学奥赛一本通T1252-走迷宫 ```#include#definexfirst#defineysecondusingnamespacestd;typedefpairpii;constintdx[4]={1,0,-1,0};constintdy[4]={0,-1,0,1};constintN=50;charg[N][N];bools 题解列表 2022年05月08日 0 点赞 0 评论 749 浏览 评分:6.0