摘要:        
T1 观察大样例,发现只有两个点被同样的集合包含这两个点一定不能成为单独的集合。 直接哈希,差分即可。 #include<iostream> #include<random> #include<map> #include<algorithm> using namespace std; inline     阅读全文
posted @ 2024-11-04 19:45
bryce_yyds
阅读(24)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A - Pairing 思路 排个序,比较相邻元素。 代码 #include<iostream> #include<algorithm> using namespace std; inline int read(){register int x = 0, f = 1;register char c     阅读全文
posted @ 2024-11-04 09:44
bryce_yyds
阅读(17)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号