信息学奥赛一本通T1440-数的划分,思路清晰暴力! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, k, jjj = 0; // n: 目标…… 题解列表 2024年11月15日 0 点赞 0 评论 522 浏览 评分:9.9
1016: [编程入门]水仙花数判断(暴力解答) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main() { int b, n, i, sum; for (i = 100;…… 题解列表 2024年11月15日 0 点赞 0 评论 1118 浏览 评分:0.0
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 评论 896 浏览 评分:0.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 评论 465 浏览 评分:9.9
只用了for循环和冒泡排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define N 10int main(){ int a[N]; in…… 题解列表 2024年11月14日 1 点赞 0 评论 567 浏览 评分:10.0
火柴棒等式,暴力dfs 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, a[10005], b[10005] =…… 题解列表 2024年11月14日 1 点赞 0 评论 314 浏览 评分:0.0
题解 1052: [编程入门]链表合并 摘要:解题思路:注意事项:参考代码:import java.util.Comparator; import java.util.Scanner; import java.util.TreeSet; …… 题解列表 2024年11月14日 0 点赞 0 评论 574 浏览 评分:0.0
题解 1015: [编程入门]求和训练(最基础的方法) 摘要:解题思路:最简单的方法,简单易懂注意事项:平方和,倒数的表示参考代码:a,b,c = map(int,input().split()) suma = 0 sumb = 0 sumc = 0 f…… 题解列表 2024年11月14日 3 点赞 0 评论 753 浏览 评分:10.0
发工资咯 记way 摘要: #include using namespace std; int dir[] = { 100, 50, 10, 5, 2, 1 }; int main() {…… 题解列表 2024年11月14日 0 点赞 0 评论 456 浏览 评分:0.0
大一新生用C语言编写的 摘要:解题思路:不知道为啥用scanf,printf就不行注意事项:参考代码:#include<stdio.h>#include<string.h>void fanh(char a[]);//函数的声明in…… 题解列表 2024年11月14日 1 点赞 0 评论 568 浏览 评分:0.0