网格染色 [组合计数]

从剪邮票问题看连通性检测:新手也能懂的DFS可视化教学 本文以蓝桥杯经典问题“剪邮票”为例,通过可视化方式讲解深度优先搜索(DFS)在网格连通性检测中的应用。文章将生活化问题转化为算法模型,详细拆解了从组合枚举到DFS“染色”判断连通性的完整步骤,并提供了可运行的代码示例,帮助算法初学者直观理解DFS的核心思想与实现技巧。 阅读详情

网 格 染 色 网格染色 网格染色

N × M N \times M N×M 的网格图, 给任意多个网格染色, 计算 使得每行每列至少有一个染色网格 的 染色方案数 .

N , M ≤ 1 0 6 N, M \le 10^6 N,M≤106


正 解 部 分 \color{red}{正解部分} 正解部分

答案 = = = 每 列 都合法的总方案数 − - − 列 合法前提下 行 不合法的方案数 .

每 列 都合法的总方案数 = = = ( 2 n − 1 ) m (2^n - 1)^m (2n−1)m, 行 不合法的方案数 = ∑ i = 1 N ( − 1 ) i ( n i ) ( 2 n − i − 1 ) m = \sum\limits_{i=1}^N (-1)^i \begin{pmatrix} n \\ i \end{pmatrix}(2^{n-i} - 1)^m =i=1∑N​(−1)i(ni​)(2n−i−1)m .

∴ a n s = ∑ i = 0 N ( − 1 ) i ( n i ) ( 2 n − i − 1 ) m \therefore ans = \sum\limits_{i=0}^N (-1)^i \begin{pmatrix} n \\ i \end{pmatrix}(2^{n-i} - 1)^m ∴ans=i=0∑N​(−1)i(ni​)(2n−i−1)m .


实 现 部 分 \color{red}{实现部分} 实现部分

#include<bits/stdc++.h>
#define reg register

const int maxn = 1e6 + 5;
const int mod = 998244353;

int N;
int M;
int pw[maxn];
int inv[maxn];
int fac[maxn];
int ifac[maxn];

char S[maxn];

int C(int n, int m){ return 1ll*fac[n]*ifac[m]%mod*ifac[n-m]%mod; }

int Ksm(int a, int b){
        int s = 1;
        while(b){
                if(b & 1) s = 1ll*s*a % mod;
                a = 1ll*a*a % mod; b >>= 1;
        }
        return s;
}

int main(){
        scanf("%d%d", &N, &M); 
        scanf("%s", S+1); int t = N;
        for(reg int i = 1; i <= t; i ++) if(S[i] == '.') N --;
        scanf("%s", S+1); t = M;
        for(reg int i = 1; i <= t; i ++) if(S[i] == '.') M --;
        inv[1] = 1; for(reg int i = 2; i <= std::max(N, M); i ++) inv[i] = ((-1ll*mod/i*inv[mod%i])%mod + mod) % mod;
        fac[0] = 1; for(reg int i = 1; i <= std::max(N, M); i ++) fac[i] = 1ll*fac[i-1]*i%mod;
        ifac[0] = 1; for(reg int i = 1; i <= std::max(N, M); i ++) ifac[i] = 1ll*ifac[i-1]*inv[i] % mod;
        pw[0] = 1; for(reg int i = 1; i <= std::max(N, M); i ++) pw[i] = 2ll*pw[i-1] % mod;
        int Ans = 0;
        for(reg int i = 0; i <= N; i ++){
                int add = 1ll*C(N, i)*Ksm(pw[N-i]-1, M)%mod;
                if(i & 1) add = -add;
                Ans = ((Ans + add)%mod + mod) % mod;
        }
        printf("%d\n", Ans);
        return 0;
}
网格图的剖分图的强边染色 (2012年) 研究了3种网格图的剖分图的强边着色 .网格图的剖分图是指用一个长为2的路去替换网格图的每条边 .具体给出了六边形、四边形、三角形的网格剖分图的一种着色方法 ,以此为基础证明了 Sχ′(Γ6s ) = 4 ,Sχ′(Γ4s ) = 5 ,Sχ′(Γ3s ) = 7 . 立即下载

相关推荐

CFD网格着色算法研究.pdf

CFD网格着色算法研究.pdf

网格染色问题

有一个网格,在初始状态下所有网格都是空白的。现有如下操作:执行n次操作,每次选择坐标对应的那一行和一列,在该行或该列上选择两个端点网格,将两个端点网格间的所有网格(包括端点网格)都染色。具体染色规则:如果两个网格坐标(x1, y1)和(x2, y2)中横坐标x1 ==x2,则把这一列所有网格都染色,如果纵坐标y1 == y2则把这一行都染色。同一网格多次染色只计一次。 问:n次操作后将...

windyaoyoung的博客 1337

【Python爬虫】股票信息定向爬取

【Python爬虫】股票信息定向爬取:通过requests-bs4-re技术路线爬虫获取上交所和深交所所有股票的名称和交易信息

qq_39321802的博客 1510

BZOJ4487: JSOI2015 染色问题 容斥原理 组合数学

题目链接 题意: 给你一个n∗mn*mn∗m的棋盘,有kkk种颜色,一开始棋盘上的每一个位置都是白色。要求你给棋盘染色,要求每行至少有一个格子被染色,每列至少有一个位置被染色,整个棋盘染完色后这kkk种颜色都要出现过,求方案数。对109+710^9+7109+7取模。n,m,c&lt;=400n,m,c&lt;=400n,m,c<=400。 题解: 反正我是没想出这个题。可能...

forever_shi的博客 670

从零搭建云手机:基于Docker与KVM的实战指南

本文提供了一份基于Docker与KVM从零搭建私有云手机的实战指南。详细介绍了服务器配置选择、KVM虚拟化环境检查、Docker容器部署以及通过VNC进行远程访问的全过程。该方案轻量高效,适合应用测试、手游多开及自动化脚本运行等场景,帮助用户低成本拥有高性能云端安卓设备。

weixin_29208327的博客 564

Linux系统监控实战:夜莺监控+categraf采集器配置全流程(附常见问题排查)

本文详细介绍了在Linux系统中使用夜莺监控和categraf采集器进行系统监控的全流程配置,包括环境准备、核心配置文件(如config.toml和procstat.toml)详解、服务集成与验证、高级监控配置实战以及常见问题排查。通过实战案例和优化建议,帮助运维人员快速构建高效的监控体系。

xray4的博客 750

P1162 填涂颜色

#include #include using namespace std; int main(){ int n,t,a[50][50]={},di[4][2]={0,1,1,0,0,-1,-1,0};//方向 cin>>n; for (int i=1; i<=n; i++) { for (int j=1; j<=n; j++) {

Clannad 305

winServer2008下安装SqlServer2008数据库

1 安装文件包 文件名 cn_sql_server_2008_r2_enterprise_x86_x64_ia64_dvd_522233.iso SHA1 0EEFF017B21635DF33F33C47E31E911CB23390F7 文件大小 4.34GB 发布时间 2010-05-03 ed2k://|file|cn_sql_server_2008_r2_enterprise_x86_x64_ia64_dvd_522233.iso|4662884352|1DB025218B01B48C6B76D6D8

IChen.的博客 4376

【NOIP提高组】B

Description在两个n*m的网格上染色,每个网格中被染色的格子必须是一个四联通块(没有任何格子被染色也可以),四联通块是指所有染了色的格子可以通过网格的边联通,现在给出哪些格子在两个网格上都被染色了,保证网格的最外围一层不会在两个网格中同时被染色,即所有处于第x行第y列满足x=1或x=n或y=1或y=m的格子不会被在两个网格中同时被染色,请求出任意一种染色的方案,如果无解,请输出-1。Sol

GGTTARsier的博客 615

第12章 STM32+BH1750光照传感器+OLED模块显示环境光照强度

相比光敏传感器,它可以直接输出环境光照强度的数值(范围是0~65535lx),非常适合懒人党,各位的传感器买到手后,赶紧跟着文章试试吧!

qq_44645742的博客 1万+

Android12 车载开发TaskView实现分屏

这里只给出TaskView的代码,相关联的源码,请看源码,如果想要使用TaskView需要自己去编译frameWork的源码,打包一个aar,或者jar出来使用,否则无法直接使用。1.如果分屏的应用如启动两个应用按照权重占比,互相不叠加在一起,点触摸击事件都可响应,例如左边启动QQ了,右边启动的是微信,二者窗口都可操作。TaskView是谷歌整合安卓多任务多窗口下交互重新重构的独立出来的module,本身继承自ServiceView,TaskView的相关概念性的东西参考。//创建的taskview。

android_bird_bird的博客 9561

一些经典的容斥问题

在平面中给$n$个点,求这$n$个点构成的三角形/锐角三角形的个数。 求三角形的个数比较简单。首先全集是$\binom{n}{3}$,然后考虑补集,补集就是三点共线的点对。所以我们可以枚举每一个点,然后为了避免算重,我们接下来只考虑标号比当前点小的点。接着就进行极角排序,这样就可以统计出当前点所在的所有直线以及直线上的点的个数。设某直线上有$m$个点,那么答案就减去$\bino...

386

基于Playwright与反反爬技术的BOSS直聘数据爬取实战

本文将详细介绍如何使用Python最新技术栈(Playwright+Asyncio)构建一个高效、稳定的BOSS直聘数据爬虫系统。文章包含完整的技术选型分析、反爬机制破解方案、分布式爬虫架构设计以及数据处理存储方案,提供可直接运行的代码示例,并探讨爬虫开发中的法律与伦理问题。

2201_76125261的博客 1468

计数题 #2 - 系列B 题解

建议前往原题阅读题面、样例及其解释。

m0_60506105的博客 1220

前后端面试题【目录】

工作时候扭螺丝,面试时候造火箭,现状就是如此。不管是背八股文,还是掌握了知识的精华,对答如流才是硬道理。本专栏就是要集具前端精华,规范、算法、架构、封装、原理等一并汇集,让前端的小伙伴有个思路。, 欢迎一起交流,并非常期望您能够提供有价值的学习资料。

大剑师兰特的GIS世界 1847

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

【BZOJ3294】放棋子(动态规划,容斥,组合数学)

题面 BZOJ 洛谷 题解 如果某一行某一列被某一种颜色给占了,那么在考虑其他行的时候可以直接把这些行和这些列给丢掉。 那么我们就可以写出一个dpdpdp 设f[i][r][c]f[i][r][c]f[i][r][c]表示考虑了前iii种颜色,还剩下rrr行ccc列没被染色。 那么转移的时候枚举一下当前颜色染了aaa行bbb列转移就好了。 但是问题来了,怎么计算用KKK个棋子恰...

小蒟蒻yyb的博客 323

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

atcoder-Coloring Dominoes(组合数学)

Problem Statement We have a board with a 2×N grid. Snuke covered the board with N dominoes without overlaps. Here, a domino can cover a 1×2 or 2×1 square. Then, Snuke decided to paint these domino

w571523631的博客 673

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

深度学习工具包 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")

计数题 #1 - 系列A 题解

在一个数轴上有n条线段,第i条线段覆盖了从li​到ri​的所有实数(包含li​和ri​定义若干条线段的为一个包含了所有被至少一个线段覆盖的点的集合。定义若干条线段的为这些线段的并形成的连通块的数目。现在 Bessie 想要求出给定n条线段的所有子集(共有2n个)的复杂度之和对1097取模的结果。1≤n≤105。

m0_60506105的博客 455

The 2017 ACM-ICPC Asia Jakarta Regional Contest L - Sacred Scarecrows/UVALive - 8144 (状压dp+容斥)

传送门 题目: 题意:多组输入,给你n*m(n<=14,m<=1e3)的字符矩阵,只包含 v 和 . 其中v是障碍物。 你需要在.上涂色,使得每一行都有格子被涂色,相邻两列必须有一列有格子被涂色。求最终的合法方案总数%1e9+7。 思路: 一看到这个题意和n的范围,肯定是状压dp。 首先,如果直接暴力状压的话,我们需要枚举每一列,这一列的状态,上一列的状态,复杂度将会爆炸。 发现对于障碍物,我们直接开一个数组记录这一列合法的位置即可,至于相邻两列必有一列涂色,我们就设dp.

LSD20164388的博客 706

bzoj 4487: [Jsoi2015]染色问题

容斥原理

fyc的博客 454

广义容斥与二项式反演

∣⋃i=1nSi∣=∑m=1n(−1)m−1∑ai<ai−1∣⋂i=1mSai∣ |\bigcup\limits_{i = 1}^{n}S_{i}| = \sum\limits_{m = 1}^{n}(-1)^{m - 1}\sum\limits_{a_{i} < a_{i - 1}}|\bigcap_{i = 1}^{m}S_{a_{i}}| ∣i=1⋃n​Si​∣=m=1∑n​(−1)m−1ai​<ai−1​∑​∣i=1⋂m​Sai​​∣我们要解决存在全集 U={P1,P2,...,Pn}U = \{

tankewei114514的博客 310

牛客训练四:Applese 涂颜色(费马小定理+快速幂)

题目链接:传送门 思路: 考虑每一列有2种颜色,总共有n行,每一行的第一个格确定颜色,由于左右颜色不相同,后面的行就确定了。 所以总共有2^n中结果。 由于n太大,所以要用到费马小定理a^n%mod=a^(n%(mod-1))%mod,所以先求出a的指数,然后用快速幂求解就好了。 #include<iostream> #include<cstdio> ...

weixin_30510153的博客 123

cf997C. Sky Full of Stars(组合数 容斥)

题意 题目链接 \(n \times n\)的网格,用三种颜色染色,问最后有一行/一列全都为同一种颜色的方案数 Sol Orz fjzzq 最后答案是这个 \[3^{n^2} - (3^n - 3)^n - \sum_{i = 1}^n (-1)^i C_n^i 3(3^{n-i} - 1)^n + (3^i - 3)(3^{(n-i)n}) \] 我来强行解释一波。 首先可以做个转化:答案 = ...

weixin_30706507的博客 155

2016ACM ECfinal补题题解

Problem E. Bet 题意:赌钱,每个队都有对应的赔率,求最多能对多少个队下注,使得只要有一个队赢了就可以保证总是赚钱的。 思路:这个题目中钱是未知的,所以设变量不能用钱,因为最后消不掉,设我对第iii队下注了一份钱,占下注总额的比例为pip_ipi​,只有该队胜利,有1+BiAi∗1>1pi1+\frac{B_i}{A_i}*1 > \frac{1}{p_i}1+Ai​Bi​​∗1>pi​1​,最后推出AiAi+Bi>pi\frac{A_i}{A_i+B_i} > p

u011612364的博客 382

算法竞赛中正六边形问题的建模与求解:从坐标变换到动态规划

在计算机算法领域,几何问题的建模与求解是算法竞赛和编程实践中的常见挑战。其核心原理在于将直观的几何结构(如正六边形蜂窝网格)抽象为离散的数学模型,以便应用标准算法。这一过程的技术价值在于锻炼程序员的抽象思维、规律发现和算法应用能力,是提升问题求解效率的关键。在应用场景上,这类技术广泛应用于路径规划、网格搜索、图形生成和组合计数等问题中。本文以算法竞赛中的“正六边形”问题为例,深入探讨了如何通过坐标变换(如立方坐标与轴向坐标)将几何网格转化为可遍历的数据结构,并系统介绍了广度优先搜索(BFS)、深度优先搜索(

weixin_32325225的博客 295
上一篇: 替身使者 [区间dp]
下一篇: CF1204E Natasha, Sasha and the Prefix Sums [动态规划]
Zbr162
博客等级 码龄8年 12粉丝 255原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值