[状压DP]TCO 2016 Fianl Div 1 Easy MealPlan

JZOJ4857-简单路径(二进制压位) 问题 AAA: 简单路径 时间限制: 111 SecSecSec 内存限制: 128128128 MBMBMB 题目描述 给定一个nnn个点的无向图,求这个图中有多少条长度为444的简单路径。 输入 第一行一个数nnn 接下来nnn行每行nnn个000或111 第iii行第jjj列是111表示iii与jjj联通 输出 输出简单路径的个数 样例输入 555 000110... 阅读详情

Description

给定四个集合S1,S2,S3,S4。
每次从四个集合里分别选出一个数组成可重集合S。
问可形成的S的数量。

Solution

考虑这样的状态:
当前已考虑前i种元素,从j个集合中选取了数。
把同一元素在四个集合中的出现情况压成20,21,22,23。
再考虑把16种情况压成216。
每次只要枚举本次要选取的状态,从当前状态的子集转移,保证不会从同一集合中多选就好了。

#include <bits/stdc++.h>
using namespace std;

class MealPlan{
    public:
    map<int, long long> mp, dp, dp1;
    long long ans;
    inline int BitCount(int x) {
        int cnt = 0;
        for (; x; x -= x & -x) ++cnt;
        return cnt;
    }
    long long countDistinct(vector<int> a, vector<int> b, vector<int> c, vector<int> d) {
        for (int i : a) mp[i] |= 1;
        for (int i : b) mp[i] |= 2;
        for (int i : c) mp[i] |= 4;
        for (int i : d) mp[i] |= 8;
        dp1[1] = 1;
        for (auto i: mp) {
            dp = dp1;
            int s = i.second;
            for (auto j: dp1) {
                int x = j.first;
                long long res = j.second;
                for (int k = 1; k <= 4; k++) {
                    int y = 0;
                    for (int t = s; t; t = s & (t - 1)) {
                        if (BitCount(t) == k) {
                            for (int p = 0; p < 16; p++)
                                if (!(p & t) && (x >> p & 1))
                                    y |= 1 << (p | t);
                        }
                    }
                    if (y) dp[y] += res;
                }
            }
            dp1 = dp;
        }
        for (auto x: dp)
            if (x.first >> 15 & 1)
                ans += x.second;
        return ans;
    }
};
MealPlan S;
vector<int> p[4];
int n, x;

int main(void)  {
    freopen("1.in", "r", stdin);
    for (int i = 0; i < 4; i++) {
        cin >> n;
        for (int j = 0; j < n; j++) {
            cin >> x; p[i].push_back(x);
        }
    }
    cout << S.countDistinct(p[0], p[1], p[2], p[3]) << endl;
    return 0;
}
(压位)高精度思想教程 与 代码实现 高精度这玩意儿真是好久没写了,时隔多年,从 Pascal 转到 C++ , 代码风格也变了 重新编了一下(经过潘神指导!),觉得比以前写的好多了~ 想了想干脆写一个小教程,希望初学者能有所收获~~ 一.高精度四则运算思想 高精度这个东西其实谁都会,上过小学数学课就知道高精度怎么做了,就是按照人的运算方式,一位一位运算。 1.加法  就是 从个位开始 两个数字相加,如 阅读详情

相关推荐

高精度——压位的思想及应用

这里我们简单介绍一下高精度的计算。 我们都知道在Cpp/C/Pas等语言中,整数最大能储存\(2^{64} -1\),超过这个范围就表示不了了(不包括个别支持int128的编译器)。这个时候,我们如果希望把这些整数存储下来,就需要用到高精度的算法和思想。高精度就是像小学学过的竖式运算一样的(除法除外)。然后就直接模拟即可。除法一位一位地试商即可。 接下来我们发现就是一位一位地加减很慢,我们考虑如何...

frankchenfu的博客 2673

POJ 3690 Constellations(二进制压位+KMP)

题目链接 这儿~~ 题解 这道题一看就知道是个二维hash,然而蒟蒻我并不会,于是想了另外一种水法:KMP。 首先对小矩阵的每一列压位变成一个long long。然后小矩阵就变成了一个长度为q的数组。对大矩阵做同样的操作,每列p位压成一个数(可重叠),然后大矩阵就变成了n-p+1行m列的矩阵。 对矩阵的每一行与数组做KMP即可。 时间复杂度O(跑得过)。 ps:数据好水,刚AC的...

Ab.Ever 369

[FNT][DP][矩阵] Codeforces 947 E - Perpetual Subtraction

SolutionSolutionSolution 暴力DP很简单fi,j=∑k≥jfi−1,kkfi,j=∑k≥jfi−1,kkf_{i,j}=\sum_{k\ge j}{f_{i-1,k}\over k} 因为转移形式都一样,可以写出转移矩阵。A=⎡⎣⎢⎢⎢⎢⎢⎢1n+10⋮01n+11n⋮0⋯⋯⋱⋯1n+11n⋮1⎤⎦⎥⎥⎥⎥⎥⎥A=[1n+11n+1⋯1n+101n⋯1n⋮⋮⋱⋮00⋯1...

Vectorxj的博客 1322

POJ -- 2443 Set Operation 【 二进制压位 】

传送门 题意应该好懂, 就不说了. 思路:将每一个集合看成是一行,也成了一个10000 * 1000 的0、1矩阵,对于每个数来书,它所在的列的0、1分布情况也就是它所在集合的情况。但问题是现在一共有1000行,2^1000肯定不行,但考虑到一个int可以存32位(2^32),1000<32*32,所以可以开32个整数,每个整数的二进制的每一位代表每一行,这样就可以在q*32的可接受的时间复杂度

Anxdada -- 我等风来也等你 1020

基于STM32的电子时钟设计

基于STM32的电子时钟设计1、设计目的2、设计具体要求3、proteus仿真图4、程序代码 1、设计目的 (1)掌握使用KEIL MDK5进行软件开发的具体流程; (2)掌握硬件电路的设计方法; (3)掌握STM32微控制器的程序设计及代码编写方法。 2、设计具体要求 (1)通过STM32自带的实时时钟功能获取时间信息; (2)在OLED显示屏上显示日期、时、分、秒等时间信息; (3)通过按键可对时间信息进行修改; (4)具有闹钟设定功能; (5)加分项:自行增加其他功能。 3、proteus仿真图 4

唯一的博客 2万+

详细介绍:国产操作系统银行麒麟V10的下载和安装

银河麒麟是由。银河麒麟已经发展为银河麒麟服务器操作系统、桌面操作系统、嵌入式操作系统、麒麟云、操作系统增值产品为代表的产品线。为攻克中国软件核心技术“卡脖子”的短板,银河麒麟建设自主的开源供应链,发起中国首个开源桌面操作系统根社区openKylin,银河麒麟操作系统以openKylin等自主根社区为依托,发布最新版本。

lz17267861157的博客 1万+

高精度计算(三)压位

压位高精

sSay 1万+

zabbix监控深信服下一代防火墙配置

深信服下一代防火墙v8.0管理界面,zabbix,SNMP

weixin_43996471的博客 6871

简单路径(Tourist Attractions) 题解 (模拟+二进制压位储存)

给定一张n个点的无向图,统计有多少条简单路径恰好经过了4个点。

Chrissie_的博客 2661

应急响应之windows日志分析工具logparser使用

windows日志分析工具logparser使用介绍

u013930899的博客 8123

智能音箱麦克风阵列实战:Python实现宽带GSC波束形成(附完整代码)

本文从工程实战角度,详细介绍了如何在智能音箱中利用Python实现宽带GSC波束形成算法。文章深入解析了广义旁瓣消除器(GSC)的核心架构,包括固定波束形成、阻塞矩阵与自适应滤波路径,并提供了完整的仿真代码、关键参数(如LMS步长)调优方法,以及面向嵌入式部署的计算优化与移植考量,旨在帮助开发者构建在真实噪声环境下高效工作的语音增强系统。

opencv7vision的博客 342

【基本运算】位运算:二进制状态压缩、成对变换、lowbit运算

Hash + lowbit 运算可得到整数二进制表示下所有是 1 的位

明朗晨光的专栏 1164

Virtuoso ADE Explorer实战技巧:从基础操作到高级仿真

本文深入解析了Virtuoso ADE Explorer在模拟电路仿真中的核心价值与实战技巧。作为Cadence平台的专业工具,它专为高效、系统化的设计空间探索而生,能大幅提升PVT验证、参数扫描和蒙特卡洛分析的效率。文章从基础界面操作、并行仿真管理,到高级的参数扫描、数据报告生成及蒙特卡洛结果深度剖析,提供了全面的避坑指南与工作流优化建议,帮助工程师从重复劳动中解放,专注于电路设计与性能优化。

ios99的博客 898

STL : bitset

之前一直不知道bitset具体的原理,只知道一部分用法。 今天考了一道bitset优化的题,就抽了一些时间研究了一下bitset。 1.原理 就是二进制压位。 具体的可以看一下那道题: 在美丽的比特镇一共有n 个景区,编号依次为1 到n,它们之间通过若干条双向道路连接。 Byteasar 慕名来到了比特镇旅游,不过由于昂贵的门票费,他只能负担起4 个景区的门票费。 他可以在任意景...

weixin_30907523的博客 133

ABAP CDS SELECT, parameters 全面解析:把参数化视图玩明白(含可运行示例)

这篇技术博客介绍了ABAP CDS中参数化视图的用法与实践。文章从业务需求出发,解释了参数化视图的必要性,并详细说明了语法规则、参数类型匹配、视图内部参数引用等关键点。重点展示了在JOIN和ASSOCIATION中传递参数的写法,提供了航线分析的完整业务案例和可运行代码示例。文章还总结了视图实体与DDIC视图的差异、会话变量使用技巧等实践要点,特别强调了JOIN中必须显式传参的语法要求。通过真实场景演示,帮助开发者掌握参数化CDS的高效应用。

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 362

车载网络测试实操源码_使用CAPL解析VBF文件

VBF(Versatile Binary Format)文件是一种二进制文件格式,被沃尔沃、福特、马自达、吉利等汽车制造商广泛采用。这种格式无法使用我们常规的烧录器进行刷写,通常需要进行解析转化。如果各位需要自己编写软件或脚本来刷写VBF文件,或者需要对刷写功能进行测试时,那么本篇文章就会对你非常有用。今天我们就来讲一下如何使用CAPL脚本对VBF文件进行数据解析。VBF文件包含三部分:VBF版本段、文件头段、数据段。前面的版本段和文件头段是ASCII码,包含版本、地址、校验码等信息

文章主要涉及嵌入式软件开发、测试、项目管理等,欢迎交流,共同进步。 2991

【基本算法】 位运算:二进制状态压缩

二进制状态压缩 二进制状态压缩,是指将一个n位的 bool 数组用 n 位的二进制数表示的方法。 OP 运算 取出 n 在二进制表示下的第k位 (n >> k) & 1 取出 n 在二进制表示下的0~ k-1 位(后k位) n & ((1<<k) - 1) 我们以13 (1101)为例,看一下位运算的实现过程 1. 取出第k位: (n...

Re_Life的博客 2863

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

问题 A: 取石子-----dp优化/思维/二进制压位

题目描述 n+e最近在研究取⽯⼦游戏。 有n堆⽯⼦,第i堆⽯⼦有ai个,最多取m堆⽯⼦(保证m≤n),请问在要求总⽯⼦数不超过k的情况下最多能取多少⽯⼦。 输入 第⼀⾏输⼊3个数字n,m,k,意义见上。 第⼆⾏n个数字,依次表示ai。 输出 输出⼀个数字,表示你的答案。 样例输入 Copy 4 3 5 1 1 2 3 样例输出 Copy 5 提示 取第1、2、4组⽯⼦,或3,4组⽯⼦,刚好是5个。...

qq_43690454的博客 365

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

二进制+位操作 总结

扒了几篇博文,都是一些不符合需求的,对于一个数学渣渣来说,说的太简洁是会要命的,自己总结一下我碰到过的二进制。 参考资料:https://jingyan.baidu.com/article/1612d5008ff5b7e20f1eee4c.html 位运算(位运算符用来对二进制位进行操作)   算术位运算:    &lt;1&gt; 与:(and  / &amp;);&lt; 2&gt; ...

二喵君的博客 5926

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

高精度算法-压位

我们之前做过大整数类的运算的题目 大整数乘法 大整数加法 这个方法看似是无敌的,,, 但是那么如果是一个10000^10000位的数据呢? 数组根本开不到这么大的。。。 有这样的题目吗? 传送门 这时候我们就需要压位了。。。 还记得我们存储数字的方式? 举个栗子:1234 + 1234这是之前的存储方式 实际上我们一个数组空间(int)是可以储存 2147483647 以...

LiuKairui的博客 6919

noip2016 Day2 T3:愤怒的小鸟 (状压DP+二进制压位)

题目描述 Kiana最近沉迷于一款神奇的游戏无法自拔。 简单来说,这款游戏是在一个平面上进行的。 有一架弹弓位于(0,0)处,每次Kiana可以用它向第一象限发射一只红色的小鸟,小鸟们的飞行轨迹均为形如y=ax^2+bx的曲线,其中a,b是Kiana指定的参数,且必须满足a。 当小鸟落回地面(即x轴)时,它就会瞬间消失。 在游戏的某个关卡里,平面的第一象限中有n只绿色的小猪,其中第i只小

KsCla 2096

[最短路][DP][传递闭包] BZOJ 5109 && LOJ #6252. 「CodePlus 2017 11 月赛」大吉大利,晚上吃鸡!

SolutionSolution记fuf_u表示从SS到TT经过点uu的方案数。 这可以很简单的DP出来。 那么点对(A,B)(A,B)合法当且仅当 fA+fB=fTf_A+f_B=f_T AA,BB无法互相到达。 第一个用个表存,第二个按拓扑序做传递闭包就好了。 原来图会不连通 时间复杂度O(nlogn+nmw)O(n\log n+{nm\over w})#include <bits/st

Vectorxj的博客 1257

Codeforces 840C [DP]

DescriptionDescription给定nn个数,求nn个数所成的排列中不存在ai×ai+1a_i\times a_{i+1}为完全平方数的方案数。n≤300n \le 300SolutionSolution首先先把每个数的平方因子全部去掉,就形成了vnvn个等价类,每个大小为viv_i,那么只要计算出这些等价类内不考虑顺序的答案ansans,最后答案就是ans∏vni=1vi!ans\pr

Vectorxj的博客 1192

[倍增NTT][DP] LOJ#6059. 「2017 山东一轮集训 Day1」Sum

DescriptionDescription求有多少nn位十进制数是pp的倍数且每位之和小于等于mi(mi=0,1,2,…,m−1,m)m_i (m_i = 0, 1, 2, \ldots, m - 1, m),允许前导00,答案对998244353998244353取模。SolutionSolution考虑DP。 设dpi,j,kdp_{i,j,k}为考虑前ii位,膜pp为jj,数位和为kk的方

Vectorxj的博客 1138

[DP][容斥原理][斯特林数] Codeforces715 E - Complete the Permutations

SolutionSolutionSolution 先dfsdfs\text{dfs}出四个量c1,c2,cyc,blkc1,c2,cyc,blkc1,c2,cyc,blk表示缩边以后x→&nbsp;0x→&nbsp;0x\rightarrow~0,0→x0→x0\rightarrow x,自环和0→00→00\rightarrow0的边的数量。 fifif_i表示用c1c1c1可以搞出至少ii...

Vectorxj的博客 1137
上一篇: [DP]AGC001E - BBQ Hard
下一篇: [并查集] BZOJ 5183: [Baltic2016]Park
Vectorxj
博客等级 码龄11年 35粉丝 231原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值