C语言用结构体和冒泡排序完成日期排序 摘要:#include<stdio.h>struct data //该结构体存储输入的年月日{ int y; int m; int d;};struct y_equals //该结构体用于存储年从小到大后…… 文章列表 2021年03月04日 0 点赞 0 评论 380 浏览 评分:0.0
【编程入门】完数的判断--简单易懂 摘要:#include"stdio.h"int main(){ int i,n,j,s,b[100],m,k; //b[100]保存因子 scanf("%d",…… 文章列表 2021年03月08日 0 点赞 0 评论 171 浏览 评分:0.0
2021.3.15.学习算法第1天 摘要:正整数的各位数字之和被Tom称为Tom数。求输入数(<2^32)的Tom数!输入每行一个整数(<2^32).输出每行一个输出,对应该数的各位数之和.样例输入123455612382样例输出151710…… 文章列表 2021年03月15日 0 点赞 0 评论 312 浏览 评分:0.0
2021.3.16 摘要:在一个监狱的长廊里有n个房间,它们一个挨着一个排成一排。每个房间内都有一个囚犯。每个房间都是锁着的。一天晚上监狱长大醉,监狱长觉得很无聊,所以决定做个游戏,和囚犯们玩一玩。游戏开始的第1轮,他打开了所…… 文章列表 2021年03月16日 0 点赞 0 评论 322 浏览 评分:0.0
CUOTIZANCUN错题 摘要:1004#include<iostream>#include<cstdio>#include<cstdlib>using namespace std;int pd(int n){ if(n<=4) …… 文章列表 2021年03月23日 0 点赞 0 评论 252 浏览 评分:0.0
题目 1047: [编程入门]报数问题 摘要:# **题目链接:[题目 1047: [编程入门]报数问题](https://www.dotcpp.com/oj/problem1047.html "题目 1047: [编程入门]报数问题")** …… 文章列表 2021年04月15日 0 点赞 0 评论 475 浏览 评分:0.0
题目 1014: [编程入门]阶乘求和 摘要:# **题目链接:[题目 1014: [编程入门]阶乘求和](https://www.dotcpp.com/oj/problem1014.html?sid=3812564&lang=1#editor …… 文章列表 2021年04月15日 0 点赞 0 评论 347 浏览 评分:0.0
9届蓝桥6,排序算法+数学分析+备忘录思想 摘要:递增三元组难度:简单3星题目描述:给定三个整数数组A = [A1, A2, ... AN],B = [B1, B2, ... BN],C = [C1, C2, ... CN],请你统计有多少个三元组(…… 文章列表 2021年04月25日 0 点赞 0 评论 386 浏览 评分:0.0
没什么用的成绩记录 摘要:import java.util.ArrayList;import java.util.Arrays;import java.util.Scanner;public class Main { publ…… 文章列表 2021年04月26日 0 点赞 0 评论 240 浏览 评分:0.0
字符串逆序 摘要:字符串逆序#include<iostream>#include<cstring>using namespace std;int Reverse(char a[],char b[]){ int i…… 文章列表 2021年04月29日 0 点赞 0 评论 194 浏览 评分:0.0