上一页 1 2 3 4 5 6 7 8 ··· 32 下一页
摘要: "Good man never makes girls wait or breaks an appointment!" said the mandarin duck father. Softly touching his little ducks' head, he ... 阅读全文
posted @ 2018-07-30 21:51 Assassin_poi君 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionLittle Q likes solving math problems very much. Unluckily, however, he does not have good spatial ability. Everytim... 阅读全文
posted @ 2018-07-30 19:32 Assassin_poi君 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 定义:欧拉回路:每条边恰好只走一次,并能回到出发点的路径欧拉路径:经过每一条边一次,但是不要求回到起始点欧拉回路存在性的判定:无向图每个顶点的度数都是偶数,则存在欧拉回路。有向图每个节顶点的入度都等于出度,则存在欧拉回路。欧拉路径存在性的判定:有向图 : 图连通,当且... 阅读全文
posted @ 2018-07-29 18:44 Assassin_poi君 阅读(1579) 评论(0) 推荐(1) 编辑
摘要: const int MAXN = 1050;int N;int tree[MAXN][MAXN];int lowbit(int x){ return x&(-x);}void Add(int x,int y,int val){ for (i... 阅读全文
posted @ 2018-07-29 11:40 Assassin_poi君 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares... 阅读全文
posted @ 2018-07-29 10:21 Assassin_poi君 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Given an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A... 阅读全文
posted @ 2018-07-28 19:38 Assassin_poi君 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 方法一:自力更生#include using namespace std;int main(){ unsigned int a = 0; int MAX_int = (~a)/2; cout/ 中定义了宏:INT_MAX和INT_MIN可以拿来直接用#include... 阅读全文
posted @ 2018-07-27 20:30 Assassin_poi君 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and ... 阅读全文
posted @ 2018-07-27 18:12 Assassin_poi君 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 #include #include using namespace std... 阅读全文
posted @ 2018-07-27 15:04 Assassin_poi君 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288KSpecial Judge, 64bit IO Format: %lld题目描述Eddy likes to play cards game since there ar... 阅读全文
posted @ 2018-07-27 12:17 Assassin_poi君 阅读(127) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 32 下一页