题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码:import java.util.Comparator; import java.util.Scanner; import java.util.TreeSet; …… 题解列表 2024年11月14日 0 点赞 0 评论 474 浏览 评分:0.0
火柴棒等式,暴力dfs 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, a[10005], b[10005] =…… 题解列表 2024年11月14日 1 点赞 0 评论 220 浏览 评分:0.0
只用了for循环和冒泡排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define N 10int main(){ int a[N]; in…… 题解列表 2024年11月14日 1 点赞 0 评论 423 浏览 评分:10.0
一直83直到我把输出-1的语句放在外面 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,count=0; cin>>n; for(int i=1…… 题解列表 2024年11月14日 1 点赞 0 评论 355 浏览 评分:9.9
1013: [编程入门]Sn的公式求和(最简单解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=2,sum=0,i,n; scanf("%d",&n); for(i=0;i<n;…… 题解列表 2024年11月14日 4 点赞 0 评论 741 浏览 评分:0.0
1016: [编程入门]水仙花数判断(暴力解答) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main() { int b, n, i, sum; for (i = 100;…… 题解列表 2024年11月15日 0 点赞 0 评论 803 浏览 评分:0.0
信息学奥赛一本通T1440-数的划分,思路清晰暴力! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, k, jjj = 0; // n: 目标…… 题解列表 2024年11月15日 0 点赞 0 评论 429 浏览 评分:9.9
初学者的写法 摘要:解题思路: 无脑if else注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; …… 题解列表 2024年11月15日 1 点赞 0 评论 1073 浏览 评分:9.9
不懂可评论 摘要:解题思路:注意事项:参考代码:h=(150/15)*2 t=(15+25)*h/2 print("%.2f"%t)…… 题解列表 2024年11月15日 0 点赞 0 评论 360 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{ public static void main(String[] a…… 题解列表 2024年11月15日 0 点赞 0 评论 426 浏览 评分:0.0