上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: Just a Hook HDU - 1698 In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of sever 阅读全文
posted @ 2020-05-04 23:26 __MEET 阅读(129) 评论(0) 推荐(0) 编辑
摘要: A Simple Problem with Integers POJ - 3468 You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation 阅读全文
posted @ 2020-05-04 23:22 __MEET 阅读(146) 评论(0) 推荐(0) 编辑
摘要: A - 敌兵布阵 HDU - 1166 C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的 阅读全文
posted @ 2020-05-04 23:14 __MEET 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Beautiful Land #include<cstdio>价值背包 #include<cstdlib> #include<iostream> #include<algorithm> #include<cmath> #include<cstring> #include<map> #define m 阅读全文
posted @ 2020-05-03 19:48 __MEET 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 敌兵布阵 HDU - 1166 #include <iostream> #include <algorithm> #include <cstring> #include <string> #include <vector> #include <map> #include <set> #include 阅读全文
posted @ 2020-05-02 10:25 __MEET 阅读(150) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_34454069/article/details/81043195 【组合计数】 #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #define SF sc 阅读全文
posted @ 2020-05-01 20:48 __MEET 阅读(164) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-30 15:17 __MEET 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 4.4.1 多态(同类型执行,不同的执行结果) far - A:calc() , son -B , t1 = new A ,t2 = new B , t1 = t2 ; t1.calc() 向上转型:实例中子类重写方法覆盖掉父类的方法 向下转型: instanceof 判断是哪个类的实例 Class 阅读全文
posted @ 2020-04-29 12:45 __MEET 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<cmath> using namespace std; #define maxn 1000005 bool isprime[maxn 阅读全文
posted @ 2020-04-28 11:12 __MEET 阅读(313) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1342/problem/E 简单叙述一下题意:在一个n*n的国际棋盘上,放置n个车,使得棋盘上的任意格子所在的列或行存在放有一个车(条件一),同时能要正好存在K对车可以无跨越相互攻击到(条件二)。 口胡一波分析思路:首先呢,因为条件一的 阅读全文
posted @ 2020-04-28 01:17 __MEET 阅读(233) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页