去掉空格(C语言,不需指针) 摘要:#include<stdio.h>#include<string.h>int main(){ char arr[100]={'0'}; for(int i=0;i<100;i++){ …… 文章列表 2024年11月07日 0 点赞 0 评论 389 浏览 评分:9.9
小猫爬山 DFS 摘要:题目描述 翰翰和达达饲养了N只小猫,这天,小猫们要去爬山。 经历了千辛万苦,小猫们终于爬上了山顶,但是疲倦的它们再也不想徒步走下山了翰翰和达达只好花钱让它们坐索道下山。 索道上的缆车最大承重量为…… 文章列表 2024年11月22日 0 点赞 3 评论 503 浏览 评分:9.9
题目 1034: [编程入门]自定义函数之数字分离 摘要:#include#includeusing namespace std;void blank(char *a,char *b){ int la=strlen(a); int lb=2*la-1; fo…… 文章列表 2024年11月24日 0 点赞 0 评论 445 浏览 评分:9.9
题目 1008: [编程入门]成绩评定 摘要:#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n>=90){ …… 文章列表 2024年11月28日 0 点赞 0 评论 570 浏览 评分:9.9
题目 1001: [编程入门]第一个HelloWorld程序 摘要:#include<iostream>using namespace std;int main(){ printf("**************************\n"); prin…… 文章列表 2024年11月30日 0 点赞 0 评论 682 浏览 评分:9.9
C语言结构体转json格式的字符串(一) 摘要:核心思想:将C语言结构体变量转化为json格式的字符串#include "s2j.h" #include <stdint.h> #include <stdio.h> //定义Studen…… 文章列表 2019年03月06日 6 点赞 0 评论 6598 浏览 评分:9.8
Java小游戏之五子棋 摘要:## 0. 推箱子的基本信息 - 作者:冥冥之中立刻有 - `QQ号`:2698111472 - `QQ学习群`:290397456 ## 1. 项目的准备 …… 文章列表 2020年04月11日 1 点赞 1 评论 931 浏览 评分:9.8
4月月赛题解 摘要:问题A 首先,暴力的做法就是每次挑选两个最小的,然后把这两个最小的数合并,执行m次。 这个复杂度是n^2logn的,我们需要优化。 注意到每次选的数是最小的,这一过程可以用multiset来优化…… 文章列表 2020年04月25日 0 点赞 6 评论 637 浏览 评分:9.8
蓝桥杯C++B组省赛真题1 摘要:## 填空题 ### **试题A:门牌制作 (5分)** 【问题描述】 小蓝要为一条街的住户制作门牌号。 这条街一共有 2020 位住户,门牌号从 1 到 2020 编号。 小蓝制作门牌的方…… 文章列表 2021年02月08日 0 点赞 0 评论 812 浏览 评分:9.8
第十五届蓝桥杯C++B组真题-编程题个人看法 摘要:####蓝桥杯2024年第十五届省赛真题-好数 原题链接:[蓝桥杯2024年第十五届省赛真题-好数](https://www.dotcpp.com/oj/problem3209.html "蓝桥杯2…… 文章列表 2024年04月15日 0 点赞 0 评论 492 浏览 评分:9.8