1099: 校门外的树(勿看,半成品) 摘要:解题思路:#include <bits/stdc++.h>// using namespace std; int ji[10000000]; int main() { int l,m…… 题解列表 2023年07月19日 0 点赞 0 评论 315 浏览 评分:2.0
C语言解组合的输出 摘要:解题思路:注意事项:注意输出格式参考代码:#include <stdio.h>#include <stdbool.h>int n,r;bool judge[25];int b[25];void arr…… 题解列表 2023年07月20日 0 点赞 0 评论 599 浏览 评分:2.0
2881: 图像相似度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[100][100];int b[100][100];int main(…… 题解列表 2023年07月20日 0 点赞 0 评论 340 浏览 评分:2.0
闲来无事的题解 摘要:解题思路:注意事项:参考代码:long long a,b; //长整形(100000000000000000000-(-100000000000000000000))int a,b; //普通整…… 题解列表 2023年07月21日 0 点赞 0 评论 379 浏览 评分:2.0
蓝桥杯算法训练-大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;int n,m;int a[10005];…… 题解列表 2023年07月22日 0 点赞 0 评论 413 浏览 评分:2.0
[编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("Hell…… 题解列表 2023年07月22日 0 点赞 0 评论 255 浏览 评分:2.0
苹果和虫子 摘要:```c #include int main() { int x,y,n,a; scanf("%d %d %d",&n,&x,&y); a=n-(y/x); …… 题解列表 2023年07月22日 0 点赞 0 评论 472 浏览 评分:2.0
鸡兔同笼问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",2*…… 题解列表 2023年07月22日 0 点赞 0 评论 541 浏览 评分:2.0
for循环解决雇佣兵 摘要:解题思路:m为当前体力值,战斗力的增加δm等于最大体力值M和当前战斗力N的比值注意事项:可以另设n指代当前战斗力,N沿用题目本意,我只用N只是为了减少代码量;N<=M这一条件省略无用操作,也可以用wh…… 题解列表 2023年08月01日 0 点赞 0 评论 818 浏览 评分:2.0
1391: 震宇大神的杀毒软件,c++代码实现 摘要:##1391: 震宇大神的杀毒软件 ***原题链接:***[震宇大神的杀毒软件](https://www.dotcpp.com/oj/problem1391.html "震宇大神的杀毒软件") *…… 题解列表 2023年08月13日 0 点赞 0 评论 401 浏览 评分:2.0