编写题解 1062: 二级C语言-公约公倍 摘要:解题思路:注意事项:参考代码:o = input().split() if len(o) >= 2: m, n = int(o[0]), int(o[1]) min = min(…… 题解列表 2024年04月16日 0 点赞 0 评论 537 浏览 评分:0.0
猴子吃桃,递归解决 摘要:解题思路:注意事项:参考代码://猴子吃桃#include <stdio.h> void peach(int x,int p){ if(x==1)printf("%d",p); else peac…… 题解列表 2024年04月16日 0 点赞 0 评论 478 浏览 评分:0.0
python--study||O.o 摘要:参考代码:n, m = map(int, input().split()) arr = [[int(num) for num in input().split()] for _ in range(n…… 题解列表 2024年04月16日 0 点赞 0 评论 534 浏览 评分:0.0
第十五届蓝桥杯JavaB组省赛-最优分组 摘要:## 解题思路 > 我看了下官方题解,官方题解用的是求期望的方式去做,这就有点复杂了,这里的话我是使用的是均值不等式进行求解,枚举其K只宠物为一组,即可,详细如下图。 [{ char a[100000]; int b; int i; …… 题解列表 2024年04月16日 0 点赞 0 评论 450 浏览 评分:0.0
python--study||O.o 摘要:参考代码:dx = (-1,0,1,0,-1,-1,1,1) dy = (0,-1,0,1,-1,1,-1,1) n, m = map(int, input().split()) map = […… 题解列表 2024年04月16日 0 点赞 0 评论 665 浏览 评分:0.0
python--study||O.o 摘要:参考代码:arr = [[0] * 9 for _ in range(9)] temp = [[0] * 9 for _ in range(9)]#辅助列表,接收变化后的数据 dx = (-1,0…… 题解列表 2024年04月16日 0 点赞 0 评论 614 浏览 评分:0.0
2832: 第n小的质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年04月16日 0 点赞 0 评论 447 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年04月16日 0 点赞 0 评论 549 浏览 评分:0.0
模拟题暴力题 ```#include#include#defineintlonglong#defineN10100usingnamespacestd;boolcheck(intx){intsum=1;while(x){intres=x%10;if(res%2==0&&sum%2!=0||res%2!=0&&sum% 题解列表 2024年04月16日 0 点赞 0 评论 875 浏览 评分:9.9