python7行解决 摘要:解题思路:注意事项:参考代码:a = [int(i) for i in input().split()]b = int(input())c = 0for i in a: if b + 30 >=…… 题解列表 2024年10月20日 1 点赞 0 评论 632 浏览 评分:9.9
只能说无意义的埋坑 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string s; // cin>>s;有一个点…… 题解列表 2024年10月20日 0 点赞 1 评论 522 浏览 评分:0.0
亲和数c++语言 摘要:#include<iostream> using namespace std; int Yue(int n) { int sum = 0; for (int i = 1; i < n;…… 题解列表 2024年10月19日 0 点赞 0 评论 223 浏览 评分:0.0
信息学奥赛一本通T1347-格子游戏 并查集 摘要: #include using namespace std; const int N = 40010; int p[N]; int n,m; …… 题解列表 2024年10月19日 1 点赞 0 评论 292 浏览 评分:9.9
2818 while解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int x,y; scanf("%d",&a); x=a; whil…… 题解列表 2024年10月19日 0 点赞 0 评论 319 浏览 评分:0.0
信息学奥赛一本通T1346-亲戚(relation) 并查集 此题有毒 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int MAXN = 20010;int father[MAXN];in…… 题解列表 2024年10月19日 0 点赞 0 评论 508 浏览 评分:9.9
求平均工资 摘要:参考代码:n=int(input()) nn=n sum=0 while n!=0: a=int(input()) sum+=a n-=1 print(sum//…… 题解列表 2024年10月19日 0 点赞 0 评论 530 浏览 评分:0.0
[蓝桥杯2022年第十三届决赛真题-最大数字] 贪心+dfs 摘要:# 咋还给我爆long long了啊这题 ```cpp #include #define ULL unsigned long long #define LL long long #def…… 题解列表 2024年10月19日 0 点赞 0 评论 540 浏览 评分:9.9
试图解释答案为什么是F E 摘要:解题思路:1.看题目要求,本题要求输出选项ABC,2.先判断选项所代表的数据类型,和a,b输出的数据类型,再看看题目所写的代码有没有强制类型转换,不过本题没有强制类型转换,所以可以不用考虑,3.判断题…… 题解列表 2024年10月19日 2 点赞 0 评论 668 浏览 评分:9.9
小小练手(自学菜鸡版) 摘要:解题思路:如下注意事项:注意左对齐,(作者用了判断语句,但其实用%2.d最好了)参考代码:#include <stdio.h>int main(){ int a,b,c; for(a =1; a<10…… 题解列表 2024年10月19日 0 点赞 0 评论 710 浏览 评分:0.0