Description The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superi            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2017-06-06 11:47:00
                            
                                76阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            老鹰乐队应该说是天才中的天才,说它是美国最伟大的摇滚乐团,一点也不为过。他们的专辑的销量超过了其他所有的美国乐队。迄今为止,他们专辑的销量在全球超过三亿八千万,赢得了四次最佳专辑,五次最佳单曲和四次葛莱美大奖。没有听过老鹰乐队的歌就不可能懂得什么是真正的摇滚乐!这首Hotel California是老鹰乐团的最经典作品(这首弹曲一定要听它地前奏,你就会明白什么叫令人眩目的吉他弹奏!!!) Eagl            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                            精选
                                                        
                            2006-03-12 20:02:28
                            
                                1534阅读
                            
                                                                                    
                                1评论
                            
                                                 
                 
                
                             
         
            
            
            
            USACO Hotel 洛谷传送门 JDOJ传送门 Description The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the s            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2020-09-21 09:52:00
                            
                                85阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            点击打            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-06-15 21:51:50
                            
                                91阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            题目链接:http://poj.org/problem?id=3667题意:一家旅馆,有n个房间,一开始房间全是空的,现在我们进行两个操作,输            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-08-30 10:53:16
                            
                                52阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            暴力。好像很慢。。。 反正能过。            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2016-10-31 18:47:00
                            
                                23阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            题意:询问区间最长连续空串            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2017-02-13 22:15:00
                            
                                147阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on thent,             
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-11-10 01:08:26
                            
                                38阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            HotelTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 6681Accepted: 2777DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bessie, ever the competent travel agent, has named the Bullmoose Ho            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-07-29 16:20:41
                            
                                62阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            题目链接:传送门
虽然是重题但还是要发一篇博客
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <complex>
#include <algorithm>
...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-10-25 13:48:49
                            
                                82阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            经典类型,求一块满足条件的最左边的空间。成段更新#include #include using namespace std;const int maxn = 50000 * 3;struct Node{    int left, rig            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-09-15 10:05:05
                            
                                44阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            // 题意: 旅店登记,有n个房间,有两种操作: 1.找一段最靠前的连续d个空房间; 2.退订[x,x-d+1]段的房间#include<iostream> //线段树using namespace std;struct node{ int l,r,blank; int lb,rb; //lb(rb)记录从左(右)端点开始的连续空的线段长}tree[200010];void build_tree(int n,int s,int t){ tree[n].l=s;tree[n].r=t; tree[n].blank=tree[n].lb=...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2011-07-22 20:42:00
                            
                                44阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            HotelTime Limit: 3000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:366764-bit integer IO format:%lld Java class name:MainThe c...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2015-04-25 19:26:00
                            
                                26阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            题目大意:1 a:询问是不是有连续长度为a的空房间,有的话住进            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2013-07-19 19:01:00
                            
                                60阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            HotelTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 19488 Accepted: 8486DescriptionThe cows are journeying north to Thun            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-02-07 11:15:53
                            
                                29阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2017-08-03 10:02:00
                            
                                79阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            // 题意:给出一个元字符串goal,里面含有特别字符*和?,其中*代表任意多个字符,?代表一个字符,// 有n个字符串str,问哪些字符串与元字符串相匹配#include<iostream> //含通用符的字符串的最长匹配#include<stdio.h>#include<cstring>using namespace std;char goal[60],str[60];int f[60][60]; //f[i][j]=1,表示一个字符串的0-i子串与另一个字符串的0-j子串匹配,f[i][j]=0则是不匹配int dp(int i,int j) /...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2011-07-16 11:08:00
                            
                                106阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            题意 Language:DefaultHotel Time Limit: 3000MSMemory Limit: 65536KTotal Submissions:             
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2019-04-06 09:22:00
                            
                                63阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            http://acm.hdu.edu.cn/showproblem.php?pid=2992 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define maxn 200 7 #include 8 using namespace std; 9 10 const int inf=0x3fffffff; 11 12 struct node 13 { 14 int v,cost; 15 }; 16 int g[maxn][maxn],a[maxn],dis[20000]; 17 int n...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2014-03-30 17:03:00
                            
                                35阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores...            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2017-08-03 10:02:00
                            
                                63阅读