UVa 10603 Fill( BFS + 判重)

UVA10603 倒水问题 Fill 这个题其实就是最短路问题,关键是要建立图论模型,然后这个题就好做了,但是怎么想到建立最短路模型的那就只能多做题了,这个题的关键点除了建立图论模型之外,还有一个就是状态,一开始选择状态是3元组,但是根据题意,几个杯子倒水的时候,水是不会洒到外面的,所以水的总数是相同的,那么其实状态是二维的就可以了,数组一开始开的3维的大小,结果超时,改成二维的就过了,这个情况还是第一次遇到,查找原因只能是多组数据,这是需要注意的一个点。知识点:BFS,最短路,图论建模。 阅读详情

隐式图搜索是最难受的题目之一,但是一般情况下,如果是隐式图搜索的话,都要记录状态,都会有一个状态的转移。

比如这道题,其实状态是只有第三个杯子里面有装满水,第一和第二个杯子里面都是空,那么这个状态可以转移的话,只能有两个方向的转移。第一是想第一杯子倒水,第二是向第二个杯子倒水,那无论是那种转移,只要这个状态曾经存在过,那么这个状态能转移到的状态就已经遍历过,并且每个状态都要有一个唯一的标识,可以通过这个标识来确认这个状态是否已经存在过!如果存在过,就不要再对这个状态进行转移了。所以对于隐式图的搜索,最重要的是怎么记录状态,以及分析状态可以转移的方向。

那么这道题,对于一个状态,一共最多有6种转移的方向,最少是没有可以转移的

具体分下,看一下BFS函数

代码:

#include <cstdio>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <map>
#include <queue>
using namespace std;

const int N = 2100000;
const int INF = 0x3fffffff;
map <int , int> mp;
int a, b, c, d;
int na, nb, nc, nd;
int T, ans, dx, di;
struct node{
    int a, b, c, ans;
}No;
queue<node> q;

void insert( int tmp, node x ) {
    if ( !mp.count(tmp) ) {
        mp[tmp] = x.ans;
        q.push( x );
    }
}
int computes( node x ) {
    return x.a*1000000+x.b*1000+x.c;
}
void change( int &x, int &y ) {
    int tmp = x;
    x = y;
    y = tmp;
}
bool judge ( node u ) {
    if ( dx > abs( u.a - d ) ) {
        dx = abs( u.a - d );
        ans = u.ans;
        di = u.a;
    }
    if ( dx > abs( u.b - d ) ) {
        dx = abs( u.b - d );
        ans = u.ans;
        di = u.b;
    }
    if ( dx > abs( u.c - d ) ) {
        dx = abs( u.c - d );
        ans = u.ans;
        di = u.c;
    }
    if ( dx == 0 ) {
        //printf("%d %d %d %d \n", u.a, u.b, u.c, u.ans);
        return 1;
    }
    return 0;
}
void BFS()
{
    mp[c] = 0;
    No.a = 0, No.b = 0, No.c = c, No.ans = 0;
    q.push( No );
    while ( !q.empty() ) {
        node u = q.front(); q.pop();
        int x, tmp;
        if ( judge( u ) ) break;
        //从a往出到
        if ( u.a > 0 ) {
            if ( u.b < b ) {    //pour into b
                tmp = min( u.a, b - u.b );
                No.a = u.a - tmp, No.b = u.b + tmp, No.c = u.c, No.ans = u.ans + tmp;
                tmp = computes( No );
                insert( tmp, No );
            }
            if ( u.c < c ) {   //pour into c
                tmp = min( u.a, c - u.c );
                No.a = u.a - tmp; No.b = u.b; No.c = u.c + tmp, No.ans = u.ans + tmp;
                tmp = computes( No ); 
                insert( tmp, No );
            }
        }
        //从b往出倒
        if ( u.b > 0 ) {
            if ( u.a < a ) {
                tmp = min( u.b, a - u.a );
                No.b = u.b - tmp, No.a = u.a + tmp, No.c = u.c, No.ans = u.ans + tmp;
                tmp = computes( No );
                insert( tmp, No );
            }
            if ( u.c < c ) {
                tmp = min( u.b, c - u.c );
                No.b = u.b - tmp, No.c = u.c + tmp, No.a = u.a, No.ans = u.ans + tmp;
                tmp = computes( No );
                insert( tmp, No );
            }
        }
        //从c往出倒
        if ( u.c > 0 ) {
            if ( u.a < a ) {
                tmp = min( u.c, a - u.a );
                No.c = u.c - tmp, No.a = u.a + tmp, No.b = u.b, No.ans = u.ans + tmp;
                tmp = computes( No );
                insert( tmp, No );
            }
            if ( u.b < b ) {
                tmp = min( u.c, b - u.b );
                No.c = u.c - tmp, No.b = u.b + tmp, No.a = u.a, No.ans = u.ans + tmp;
                tmp = computes( No );
                insert( tmp, No );
            }
        }
    }
}
int main()
{
    scanf("%d", &T);
    while ( T-- ) {
        scanf("%d%d%d%d", &a, &b, &c, &d);
        mp.clear();
        dx = INF;
        while ( !q.empty() ) q.pop();
        BFS();
        printf("%d %d\n", ans, di);
    }
}




UVA 10603 Fill(状态空间搜索,倒水问题) 【题目链接】uva-10603 【题意】设3个杯子的容量分别为a, b, c,最初只有第3个杯子装 满了c升水,其他两个杯子为空。最少需要倒多少升水才能让某一个杯子中的水有d升呢?如果无法做到恰好d升,就让某一个杯子里的水是d'升,其中d' 【样例】 Sample Input 2 2 3 4 2 96 97 199 62 Sample Output 2 2 9859 62 【分 阅读详情

相关推荐

深度解析direct path write temp与ASM IO性能问题:Oracle 19.17视图查询优化指南

本文深度解析了Oracle 19.17版本中复杂视图查询出现`direct path write temp`与`ASM IO for non-blocking poll`性能瓶颈的根本原因。通过对比11.2.0.4版本的执行计划差异,文章提供了从CBO参数调整、存储层优化到SQL架构重构的完整实战调优指南,帮助DBA有效解决升级后的查询性能问题。

2y3u4i5o6p的博客 1118

【新人菜鸟】UVa10603 状态图+Dijkstra最短路

题目叙述https://vjudge.net/problem/UVA-10603      有三个杯子,容量分别为 a,b,c(1≤a,b,c≤200)。初始状态前两个杯子(a,b)为空,第三个杯子(c)装满了水。由于杯子没有刻度,故每次从一个杯子向另一个杯子倒水的时候,在第一个杯子被倒空或第二个杯子被倒满之前不允许停止。问:通过一定次数的倒水,寻找某个杯子能达到的盛水量d',使得d'≤d且d'最...

ldq9526的博客 341

PLC实验:水塔水位控制

实验项目名称:水塔水位控制 一、面板图 二、实验控制要求 各限位开关定义如下: S1 定义为水塔水位上部传感器(ON:液面已到水塔上限位、OFF:液面未到水塔上限位); S2 定义为水塔水位下部传感器(ON:液面已到水塔下限位、OFF:液面未到水塔下限位); S3 定义为水池水位上部传感器(ON:液面已到水池上限位、OFF:液面未到水池上限位); S4 定义为水池水位下部传感器(ON:液面已到水池下限位、OFF:液面未到水池下限位); 当水位低于 S4 时,阀 Y 开启,系统开始向水池中注水,5S 后如

weixin_43372433的博客 3万+

UVA 10603:倒水

BFS类题目,尝试用DFS,无奈会超时。DFS不能摆脱的命运啊,,, 下面给出运行 结果正确但TL的DFS代码; AC 0MS的BFS代码。 DFS代码(超时): #include<iostream> #include<cstdio> #include<algorithm> #include<str...

qq_35752161的博客 240

视频动作识别、行为识别、时空动作检测数据集整理(持续更新)

动作、行为、事件 在计算机视觉的相关研究中,人体的动作、行为识别是一个基础研究问题。但目前识别、检测人类的动作/行为仍然是一个巨大的挑战。这里整理下当前相关的细分任务、数据集和开源代码(持续更新中)。

人工智能算法与工程实践 4万+

word 2013 长篇文档排版案例教程

office 2013 制作长文格式模板

1万+

uva 10603(Fill, 隐式图搜索问题)

题目大意: 有三个杯子的容量分别为a, b, c,  最初只有第3个杯子装满了c升水,其他两个杯子为空。最少需要倒多少升水才能让某个水杯有d升,如果无法达到d升,找到某个杯子的水是d’升,其中d‘ 题目分析: 首先,将三个杯子的水量看成是状态(v0, v1, v2); 那么我们可以描述出倒水过程中的状态变化: 这里我用结构体node 表示这个状态: struct Node{

wangzhuo0978的专栏 476

ThinkBook 16 2024 Ubuntu驱动全攻略:从无线网卡到触控板

本文详细介绍了ThinkBook 16 2024在Ubuntu系统下的驱动问题解决方案,涵盖无线网卡、蓝牙、显卡和触控板等关键硬件的驱动修复步骤。通过具体命令和配置指南,帮助用户快速解决兼容性问题,提升Ubuntu在ThinkBook上的使用体验。

weixin_29200741的博客 834

倒水问题(uva,10603)

题意:设三个没有刻度杯子的容量为a, b, c, 刚开始只有第三个杯子装满水,其他两个 杯子为空,问最少需要倒多少升水才能使其中一个杯子中有 d 升水,若无法做到恰好 d 升,就让某一个杯子的水是 d' 升,其中 d' < d 并且尽量接近d,...

Hammer_xu的博客 751

以宠辱之戒写 SAP Fiori Elements,把标准能力当成身体,把扩展冲动当成大患

SAP Fiori Elements开发中常面临业务方追求"独特页面"的压力,但过度自定义会破坏框架价值。老子"宠辱若惊"的智慧提醒开发者:不应因用户称赞或批评而动摇架构原则。标准模板的价值在于确保业务语义、交互规范和后端服务的一致性。扩展应遵循官方API,将业务逻辑放在ABAP/CDS层而非前端控制器。成熟项目会平衡标准与定制,使用annotation表达UI行为,仅在必要时通过受支持的extension points进行增强,保持系统的长期可维护性。

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

华为OD面试八股真题 - 操作系统相关 - 2

华为OD技术面,操作系统相关八股真题提供详细解答,这篇博客主要涉及于进程和线程相关知识点

qq_45776114的博客 990

UVA-10603 Fill(状态图的BFS+贪心)

UVA-10603 Fill There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the third is c...

weixin_43406404的博客 314

Cadence OrCAD Capture软件启动过程卡死且无法恢复的解决方法

如下图所示Cadence OrCAD Capture软件在启动后出现卡死的现象,且等待后无法自动恢复,需要强行关闭,再次启动依然卡死。

fydar的博客 4055

UVA 10603 Fill(正确代码虽然很搓,网上许多代码都不能AC)

题目链接:click here~ 此题我估计是加强过数据,在我纠结了很久的时候我交了好几份网上的代码不是WA就是TLE。在我很迷茫的时候我又交了一份,AC了(虽然我用随机数据找到了他代码一个不能过的数据)。 给了我信心,然后我拿他的代码用随机数跟我的代码进行测试,再用FC找不同。。发现了一个致命的错误,一般来说,BFS或者DFS都是需要有一个vis数组或者哈希来判重,但是此题判重是有很大问题的

glq007的acm的奋斗 2434

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

Fill UVA - 10603

Fill UVA - 10603 题目大意: 给定三个水杯,a,b,c ,并且 a,b 为空杯,c 倒满, 给定一个容量 d 要求给出当,杯中有出现容量为d 的情况时,给出最少的水交换容量, 如果没有 则给出d' 要求 d' 尽可能得接近 d 思路: 使用爆搜,广度优先遍历,对应的记录每一个状态下的 每一个杯子的含有的水量和已经交换的水的容量 当出现d容量的情况时...

Willen_的博客 302

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

UVA 10603 Fill Water BFS

UVA10603 并没有A。。。但注释大概还是可以给搭嘎提供点思路的 #include<iostream> #include<cstring> #include<algorithm> #include<queue> #include<cstdio> using namespace std; struct Node {...

iroy33的博客 308

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

UVA 10603 Fill【BFS】

题意 有三个给定容量的没有刻度的杯子,其中一个杯子装满水,问量出给定水的体积需要倒多少水(倒水时水量的和) 分析 直接BFS,但非常容易写错 AC代码 //UVA 10603 Fill //AC 2016-07-19 16:11:16 //BFS #include <iostream> #include <cstdio> ...

a18235146924的博客 113

uva 10603 Fill(倒水问题 BFS)

貌似uva崩了,现在进不去,所以这道题还判断正确与否,其实无所谓了,我这是看的网上的代码,写的基本上一样,唉,没办法,不会做,又看了网上的题解,认真写理解吧还是。。。 构造了一个结构体,water数组用来保存三个杯子的状态,sum用来保存当前的倒水量,visit数组用来保存状态,以 防他们重复访问,三个杯子只需要两个杯子来判断,第三个已经确定,所以开一个二维数组就可以了。。。然后用 reac

勿忘初心 1729

10603 - Fill UVA(隐式最短路)@

Fill  UVA - 10603  题意:给三个杯子,第1个第2个空,第三个装满水,每次操作是一个杯子向另一个杯子倒水直到其中一个杯子为空或者另一个杯子倒满,求使其中一个杯子最接近d的最小倒水流量 解:最短路; #include #include using namespace std; const int N = 500; const int inf

MR CODER 392

Fill UVA - 10603(BFS)

题意 给你a,b,c代表三个杯子的容量,刚开始的时候只有c的杯子是满水的,现在给你一个d,问你将水倒来倒去能不能使得一个杯子的水的容量是d,并且要求该过程中倒水的总量最小,如果不存在,输出一个最靠近d的数字 思路 我们考虑两个杯子a,b倒水的过程,只存在两者情况,1要么将b杯子的水全部倒满,2将a杯子的水全部倒过去使得a杯子空了但是b没有满,我们在这样的倒水的过程中肯定是取两者的最小值,我们...

leekerian的博客 154

Fill UVA - 10603

BFS 看了刘汝佳代码依旧有一些不懂得地方 比如代码中使用了dist数组,但是这个数组作用是什么依旧不懂 另外这个方法是否正确的确存在争议 如果追求次数最少,那么每次取出倒水次数最少的扩展自然无可厚非 但是要求倒水量最少,取出当前倒水最少的进行扩展就一定能得到正确答案? 当然刘汝佳也说明了这个问题 代码直接看的代码仓库,加了一点注释 等刷题多了再回过头来看 // UVa1060...

∑bit 238

uva 10603 Fill (BFS)

uva 10603 Fill There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the

总有那么一群人喜欢盯着我的博客看,估计这是他们见过最长的博客名,我必须得告诉他们博客名最长可以写多长 704

uva 10603 Fill

经典的倒水问题,bfs隐式图遍历加上简单的模拟就行了,注意判优的条件是倒水量而不是倒水的次数 #include #include #include #include #include using namespace std; int target; int max_a; int max_b; int max_c; struct state { int a, b, c; i

皓首不倦 不负少年 685

UVa10603 Fill

题意:你有3个杯子a,b,c

A Cube Master 610

[UVA] Fill

题目:https://vjudge.net/problem/UVA-10603 #include<iostream> #include<cstdio> #include<cstring> #include<map> #include<vector> #include<algorithm> #include<strin...

weixin_37992828的博客 142
上一篇: uva 10507 Waking up Brain( 搜索 )
下一篇: UVa 11733 Airports( MST )
AcDora
博客等级 码龄14年 27粉丝 174原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值