题解 1097: 蛇行矩阵 摘要:解题思路:女朋友写的,思路非常好,直接将小蛇蛇排进数组,代码简洁明了注意事项:参考代码:import java.util.Scanner; public class Main { pu…… 题解列表 2023年04月04日 0 点赞 0 评论 288 浏览 评分:9.9
用辗转相除法也可以算,菜鸟运算 摘要:参考代码#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 评论 347 浏览 评分:9.9
大模拟题,使用结构体和sort以及闰年判断 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<algorithm> using namespace std; stru…… 题解列表 2023年04月04日 0 点赞 0 评论 322 浏览 评分: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 评论 495 浏览 评分: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 评论 401 浏览 评分: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 评论 699 浏览 评分: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 评论 464 浏览 评分:9.9
蓝桥杯算法训练VIP-JAM计数法 摘要: #include #include using namespace std; string str; int s, w, t; int siz…… 题解列表 2023年04月04日 0 点赞 0 评论 387 浏览 评分:9.9
暴力破解-数组存储答案-取模-Java 摘要:解题思路: 暴力循环找到目标,主要是把握好每个变量的取值范围。输入t来接收要输入几组数字,然后我构建了一个t长度的字符数组用来存放字符答案。循环t次,每次传入一组数,并且每次传入后判断结果,将结果存放…… 题解列表 2023年04月04日 1 点赞 0 评论 618 浏览 评分:9.9
数字处理与判断 摘要:##字符串String类的应用 *length()返回长度; charAt()调到指定位置** ## Java代码 - #### 话不多说,上代码 import…… 题解列表 2023年04月04日 0 点赞 0 评论 808 浏览 评分:9.9