1102: 明明的随机数(基础,思路简洁,有意思) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>//用于sort函数using namespace std;int main(){ int…… 题解列表 2024年03月11日 1 点赞 0 评论 379 浏览 评分:9.9
用冒泡排序做的,没有时间超限 摘要:解题思路:注意事项:参考代码:while True: li=list(map(int,input().split())) if li[0]==0: break else…… 题解列表 2024年03月11日 0 点赞 0 评论 328 浏览 评分:0.0
移动路线java 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2024年03月11日 0 点赞 0 评论 339 浏览 评分:0.0
1105: 数列(找出根本找不出的规律) 摘要:解题思路:十进制转换为二进制,次方注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int k…… 题解列表 2024年03月11日 0 点赞 0 评论 456 浏览 评分:9.9
1106: 奖学金(一个对象,多个数据,用结构体) 摘要:解题思路:结构体的应用注意事项:参考代码:#include<iostream>using namespace std;struct st{ int xh; int a,b,c; in…… 题解列表 2024年03月11日 2 点赞 0 评论 566 浏览 评分:9.9
C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:mylist = [1,1]n = int(input())sum = 0if n==1: print(mylist[0])elif n>1: for i i…… 题解列表 2024年03月11日 0 点赞 0 评论 377 浏览 评分:9.9
1042: [编程入门]电报加密--简单的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[1000]; char b[1000]; gets(a); i…… 题解列表 2024年03月11日 0 点赞 0 评论 483 浏览 评分:9.9
1107: 纪念品分组(数学思维吧) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n,k,a[100…… 题解列表 2024年03月11日 1 点赞 0 评论 564 浏览 评分:9.9
1013: [编程入门]Sn的公式求和--简单问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n; scanf("%d",&n); int a=0; int sum=0; for(int i=0;…… 题解列表 2024年03月11日 0 点赞 0 评论 317 浏览 评分:9.9
数的划分(深搜) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n, m, ans; void dfs(int k,int s…… 题解列表 2024年03月11日 1 点赞 0 评论 488 浏览 评分:10.0