计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double sum=0; …… 题解列表 2024年01月14日 0 点赞 0 评论 204 浏览 评分:0.0
题解 3011: 余数相同问题 摘要:解题思路:定义三个长整型变量,写循环和选择判断x;注意事项:在循环中输出完x后要终止循环,不然会超时;参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2024年01月14日 0 点赞 0 评论 176 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月14日 0 点赞 0 评论 505 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:解题思路: 注意事项:判断能否摘到苹果一定是大于等于哦参考代码:#include<stdio.h>#define APPLENUMBER 10int main(){ int bench_heig…… 题解列表 2024年01月14日 0 点赞 0 评论 220 浏览 评分:0.0
2834: 与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, m, count; int a[100] = {0}; scanf("%d",…… 题解列表 2024年01月14日 0 点赞 0 评论 226 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-卡牌 摘要: import java.io.*; import java.util.Arrays; public class Main { static B…… 题解列表 2024年01月14日 0 点赞 0 评论 555 浏览 评分:9.9
冶炼金属之列个不等式就出来了 摘要:解题思路:以375 353 259 2为例,上限集合:59/v>=2,53/v>=2,75/v>=3,下限集合:59/v>=3,53/v>=3,75/v>=4(下限求解出来需要加1)参考代码:#inc…… 题解列表 2024年01月14日 0 点赞 0 评论 586 浏览 评分:9.9
百钱买百鸡问题(易理解) 摘要:#include<iostream> using namespace std; main() { int a,b,c; //100元买100只鸡 for(a=0;a<=100/5;a…… 题解列表 2024年01月13日 0 点赞 0 评论 156 浏览 评分:0.0
更小的数(不用真调换,只需要比较首位指针) 摘要:解题思路:注意事项:string类型用 .length()char字符数组char s[20]用 strlen(s) 参考代码:#include<iostream> #include<s…… 题解列表 2024年01月13日 0 点赞 0 评论 416 浏览 评分:9.9
1319: 没有上司的晚会 摘要:# 没有上司的晚会 ```cpp /* * 1319: 没有上司的晚会 * 贴脸的树形DP,hhh。已知关系结构是树形,数据范围 -- 考虑dp。 * dp[root][join] …… 题解列表 2024年01月13日 0 点赞 0 评论 262 浏览 评分:0.0