1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;const ll N=1e5;//太大会爆ll a…… 题解列表 2024年04月22日 0 点赞 0 评论 211 浏览 评分:0.0
2821: 开关灯 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=1e5;//定义小一点int a[N] ;int main(…… 题解列表 2024年04月22日 0 点赞 0 评论 235 浏览 评分:0.0
2839:石头剪刀布 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>;using namespace std;int main(){ int n,na,nb; cin>>n>>na…… 题解列表 2024年04月22日 0 点赞 0 评论 244 浏览 评分:9.9
最容易想到的,两个for循环 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,ans=0,flag=0;…… 题解列表 2024年04月22日 0 点赞 0 评论 414 浏览 评分:0.0
HashMap键值对方法 摘要:解题思路:注意事项:参考代码:import java.util.HashMap;import java.util.Map;import java.util.Scanner;public class M…… 题解列表 2024年04月22日 0 点赞 0 评论 304 浏览 评分:0.0
某医院想统计一下某项疾病的获得与否与年龄是否有关,需要对以前的诊断记录进行整理,按照0-18、19-35、36-60、61以上(含61)四个年龄段统计的患病人数占总患病人数的比例。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,x,a=0,b=0,c=0,d=0; scanf("%d",&n); for(…… 题解列表 2024年04月22日 0 点赞 0 评论 268 浏览 评分:0.0
2991: 八进制到十进制 摘要:解题思路:注意事项:参考代码:import java.lang.*; import java.util.Scanner; public class Main { public st…… 题解列表 2024年04月22日 0 点赞 0 评论 164 浏览 评分:0.0
python优势-自带高精度 摘要:参考代码:while True: n = int(input()) if n == 0: break if n % 17 == 0:   题解列表 2024年04月23日 0 点赞 0 评论 213 浏览 评分:0.0
手写一个快速排序算法 摘要:解题思路:快速排序算法注意事项:多关键字比较参考代码:#include <stdio.h> typedef struct _Point { int x, y, z; } Point;…… 题解列表 2024年04月23日 0 点赞 0 评论 232 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>int max_gys(int a,int b) { int temp;…… 题解列表 2024年04月23日 0 点赞 0 评论 169 浏览 评分:0.0