L1-033 出生年 摘要://可以在输入年份数上加10000这样可以更好解决前边补零的问题#include<iostream>#include<cstring>using&nbs…… 文章列表 2025年02月20日 0 点赞 0 评论 26 浏览 评分:0.0
L1-025 正整数A+B 摘要://获取字符串字符串判断#include<iostream>usingnamespacestd;stringa,b;bool…… 文章列表 2025年02月19日 0 点赞 0 评论 136 浏览 评分:0.0
L1-023 输出GPLT 摘要://注意细节处理,最后的输出#include<iostream>usingnamespacestd;strings;inta…… 文章列表 2025年02月18日 0 点赞 0 评论 198 浏览 评分:0.0
L1-020 帅到没朋友 摘要://注意若朋友圈只有一个朋友(自己)也算没朋友//行末不能有空格#include<iostream>#include<iomanip>&nb…… 文章列表 2025年02月18日 0 点赞 0 评论 201 浏览 评分:0.0
L1-009 N个数求和 摘要://通分约分即可#include<iostream>usingnamespacestd;intn,s,d=1;…… 文章列表 2025年01月20日 0 点赞 0 评论 2798 浏览 评分:0.0
二、栈、队列和数组(acwing)(考研C++)(持续更新) 摘要:#(一)栈和队列的基本概念#(二)栈和队列的顺序存储结构###C++实现栈(一般使用静态数组)C++ (acwing)持续更新 摘要:#如何直接用C++写一个链表```#include #include #include using namespace std;struct Node{ …… 文章列表 2025年01月12日 1 点赞 0 评论 73152 浏览 评分:10.0
L1-006连续因子 摘要://暴力,不开longlong也无妨注意取因子的方式和范围#include<iostream>usingnamespacestd;…… 文章列表 2025年01月04日 0 点赞 0 评论 34509 浏览 评分:0.0
高精度算法(2~36进制)加法器(不好写) 摘要: #include//整个下午献给了高精度 #include #include #define m 10000 int main(void) {…… 文章列表 2025年01月01日 0 点赞 0 评论 10976 浏览 评分:0.0
高精度算法--斐波那契数列(不用二维数组)与加法相似 摘要: #include #define m 10000 int main(void) { int a[m], b[m], c[m], i, j, lc…… 文章列表 2025年01月01日 1 点赞 0 评论 30408 浏览 评分:0.0