![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法笔记刷题
sadnessdry
这个作者很懒,什么都没留下…
展开
-
算法笔记刷题(100000578-100000580)
算法笔记刷题(100000578-100000580) 文章目录算法笔记刷题(100000578-100000580)100000578100000579100000580 100000578 A 数组13 为了取数据更方便 #include<cstdio> #include <algorithm> using namespace std; bool isLeap(int year) { return (year % 4 == 0 && year % 100 !=原创 2021-09-11 00:51:26 · 103 阅读 · 0 评论 -
算法笔记刷题(100000575-100000577)
算法笔记刷题(100000575-100000577) 文章目录算法笔记刷题(100000575-100000577)100000575100000576100000577 100000575 A 一直运行错误 原来tree少写了一位 memset头文件 按字节填补 0或-1 #include <cstdio> #include <cstring> using namespace std; int main() { int L, M, tree[10001], remain;原创 2021-08-23 01:24:26 · 95 阅读 · 0 评论 -
算法笔记刷题(100000572-100000574)
算法笔记刷题(100000572-100000574) 文章目录算法笔记刷题(100000572-100000574)100000572100000574 100000572 A 注意cin.getline能输入换行 #include <stdio.h> #include <iostream> using namespace std; struct person { char name[20]; int count; }leader[3] = { "Li", 0, "原创 2021-08-13 00:59:50 · 99 阅读 · 0 评论 -
算法笔记刷题(100000572-100000574)
算法笔记刷题(100000572-100000574) 100000572 A 注意cin.getline能输入换行 #include <stdio.h> #include <iostream> using namespace std; struct person { char name[20]; int count; }leader[3] = { "Li", 0, "Zhang", 0, "Fun", 0 }; int main() { int n,i;原创 2021-08-13 00:56:28 · 66 阅读 · 0 评论 -
算法笔记刷题(100000569-100000571)
算法笔记刷题(100000569-100000571) 文章目录算法笔记刷题(100000569-100000571)100000569100000570100000571 100000569 A 插入排序 scanf以空格,回车,制表符结束输入 #include <stdio.h> int main() { int a[10],i,j,insert; for (i = 0; i < 9; ++i) { scanf("%d", &a[i]);原创 2021-08-11 00:24:14 · 67 阅读 · 0 评论 -
算法笔记刷题(100000566-100000568)第一天
算法笔记刷题(100000566-100000568)第一天 文章目录算法笔记刷题(100000566-100000568)第一天100000566100000567100000568 以前的codeup打不开,新的网址使用 http://codeup.hustoj.com/problem.php?cid=题组号(二维码上面网址的cid) 100000566 A #include <stdio.h> int main() { printf("This is my first c pro原创 2021-07-31 23:34:56 · 133 阅读 · 0 评论