![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
-------- 未分类
ke_yi_
这个作者很懒,什么都没留下…
展开
-
牛客2018年第七次acm暑期培训----A-Minimum Cost Perfect Matching
链接:https://www.nowcoder.com/acm/contest/145/A来源:牛客网Minimum Cost Perfect Matching时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288KSpecial Judge, 64bit IO Format: %lld题目描述You have a complete...原创 2018-08-10 08:54:52 · 513 阅读 · 0 评论 -
牛客2018年第二次acm暑期培训----H-Diff-prime Pairs
题目描述:链接:https://www.nowcoder.com/acm/contest/141/H来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述Eddy has solved lots of problem involving calculating t...原创 2018-07-27 15:37:47 · 718 阅读 · 0 评论 -
牛客2018年第二次多校培训----A-run
题目描述:链接:https://www.nowcoder.com/acm/contest/140/A来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit IO Format: %lld题目描述White Cloud is exercising in the playground.White Cloud c...原创 2018-07-27 15:33:06 · 559 阅读 · 0 评论 -
牛客网-21天刷题计划-第2节 进阶-对称的二叉树
使用非递归的二叉树遍历实现。#include<iostream>using namespace std;const int maxn=10000;/*struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; TreeNode(int x) : ...原创 2018-10-19 20:32:13 · 147 阅读 · 0 评论 -
查找算法
静态查找表//顺序表查找的数据类型#define MAXL 100typedef int KeyTypetypedef struct{ KeyType key; InfoType data;}NodeType;typedef NodeType SeqList[MAXL]; 顺序查找:它是一种最简单的查找方法。基本思路是:从表的一段开始顺序扫描现行表,依次将扫描到...原创 2019-04-28 15:42:31 · 151 阅读 · 0 评论