用辗转相除法也可以算,菜鸟运算 摘要:参考代码#include<stdio.h>int main(){int a,b;int t,c;scanf("%d %d",&a,&b);int i,j;i=a,j=b;while(b!=0){ t=…… 题解列表 2023年04月04日 0 点赞 0 评论 402 浏览 评分:9.9
大模拟题,使用结构体和sort以及闰年判断 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<algorithm> using namespace std; stru…… 题解列表 2023年04月04日 0 点赞 0 评论 428 浏览 评分:9.9
1278: [NOIP2008]传纸条 摘要:```cpp #include using namespace std; int n,m,a[52][52],f[52][52][52][52]; namespace qaq { …… 题解列表 2023年04月04日 0 点赞 0 评论 543 浏览 评分:9.9
1279: [NOIP2008T2]火柴棒等式 摘要:```cpp #include using namespace std; int nu[10]={6,2,5,5,4,5,6,3,7,6}; int matches(int num) { …… 题解列表 2023年04月04日 0 点赞 0 评论 451 浏览 评分:9.9
3048: 抓住那头牛 摘要:```cpp #include using namespace std; int n,k; int dfs(int t) { if(t>n>>k; int s=0; …… 题解列表 2023年04月04日 0 点赞 0 评论 763 浏览 评分:9.9
1280: 找啊找啊找GF 摘要:```cpp #include using namespace std; int rmb[1001],rp[1001],t[1001],f[101][101],mint[101][101]; …… 题解列表 2023年04月04日 0 点赞 0 评论 510 浏览 评分:9.9
蓝桥杯算法训练VIP-JAM计数法 摘要: #include #include using namespace std; string str; int s, w, t; int siz…… 题解列表 2023年04月04日 0 点赞 0 评论 446 浏览 评分:9.9
暴力破解-数组存储答案-取模-Java 摘要:解题思路: 暴力循环找到目标,主要是把握好每个变量的取值范围。输入t来接收要输入几组数字,然后我构建了一个t长度的字符数组用来存放字符答案。循环t次,每次传入一组数,并且每次传入后判断结果,将结果存放…… 题解列表 2023年04月04日 1 点赞 0 评论 668 浏览 评分:9.9
数字处理与判断 摘要:##字符串String类的应用 *length()返回长度; charAt()调到指定位置** ## Java代码 - #### 话不多说,上代码 import…… 题解列表 2023年04月04日 0 点赞 0 评论 877 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-重复的数 摘要:解题思路:离线处理(若一边读一边实时处理则为在线处理),分块思想。注意事项:不要超时参考代码:#include <iostream> #include <vector> #include <set…… 题解列表 2023年04月05日 2 点赞 0 评论 898 浏览 评分:9.9