码迷,mamicode.com
首页 >  
搜索关键字:summer    ( 561个结果
HDU 1827 Summer Holiday
Summer Holiday Time Limit: 10000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3937 Accepted Submission(s): 1775 ...
分类:其他好文   时间:2017-08-20 18:31:09    阅读次数:181
Code Force 429B Working out【递推dp】
Summer is coming! It's time for Iahub and Iahubina to work out, as they both want to look hot at the beach. The gym where they go is a matrix a with n ...
分类:其他好文   时间:2017-08-20 18:30:27    阅读次数:192
洛谷—— P1339 [USACO09OCT]热浪Heat Wave
P1339 [USACO09OCT]热浪Heat Wave 题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are n ...
分类:其他好文   时间:2017-08-19 17:07:15    阅读次数:201
【博弈论】【SG函数】【线段树】Petrozavodsk Summer Training Camp 2016 Day 9: AtCoder Japanese Problems Selection, Thursday, September 1, 2016 Problem H. Cups and Beans
一开始有n个杯子,每个杯子里有一些豆子,两个人轮流操作,每次只能将一个豆子移动到其所在杯子之前的某个杯子里,不过可以移动到的范围只有一段区间。问你是否先手必胜。 一个杯子里的豆子全都等价的,因为sg函数是异或起来的值,所以一个杯子里如果有偶数个豆子,就没有意义。 用sg(i)表示i杯子中的豆子的sg ...
分类:其他好文   时间:2017-08-17 10:32:35    阅读次数:150
Summer training round2 #9(Training28)
A:签到题 C:模拟搜索题 #include <bits/stdc++.h> #include <cstring> #include <iostream> #include <algorithm> #include<queue> #define EPS 1.0e-9 #define PI acos( ...
分类:其他好文   时间:2017-08-15 23:32:57    阅读次数:466
Summer training round2 #8(Training26)
A:贪心DFS 先从最远的搜起 如果一个点的value>=2 就ans++ D:并查集 E:大模拟 F:快速幂 #include <bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<LL, LL > pLL; ...
分类:其他好文   时间:2017-08-15 23:32:47    阅读次数:342
[最短路]P1339 [USACO09OCT]热浪Heat Wave
题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are not so adept at creating creamy ...
分类:其他好文   时间:2017-08-13 16:29:17    阅读次数:156
Summer training round2 #6 (Training #26)
A:树遍历 DFS 贪心 先从最远的点开始判 如果某个点连有的算上自身的junction不小于二就ans++ return 0 连有的算上自身的junction为一 就return 1 #include <bits/stdc++.h> #include <cstring> #include <ios ...
分类:其他好文   时间:2017-08-10 23:39:11    阅读次数:147
E. Summer Earnings
就是碰见三个圆或者四个圆的时候就想一下怎么用其他的东西等价一下啊。。。 ...
分类:其他好文   时间:2017-08-10 01:24:43    阅读次数:182
【计算几何】【极角排序】【二分】Petrozavodsk Summer Training Camp 2016 Day 6: Warsaw U Contest, XVI Open Cup Onsite, Sunday, August 28, 2016 Problem J. Triangles
平面上给你n(不超过2000)个点,问你能构成多少个面积在[A,B]之间的Rt三角形。 枚举每个点作为直角顶点,对其他点极角排序,同方向的按长度排序,然后依次枚举每个向量,与其对应的另一条直角边是单调的,可以用一个pointer做出来,然后可以得出那些同方向的向量的区间(这个代码好像有点问题,可能会 ...
分类:编程语言   时间:2017-08-09 21:12:11    阅读次数:235
561条   上一页 1 ... 18 19 20 21 22 ... 57 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!