大碗饭加蛋
大碗饭加蛋
全部文章
UVA
CodeForces(6)
CSUOJ(38)
HDU(14)
NCPC 2016 October 8(1)
POJ(8)
SQL(1)
对拍(1)
强化学习(1)
未归档(1)
题解(2)
归档
标签
去牛客网
登录
/
注册
Delusion
算法菜鸡刷题之路
全部文章
/ UVA
(共10篇)
UVA 1025 A Spy in the Metro
Description Secret agent Maria was sent to Algorithms City to carry out an especially dangerous mission. After several thrilling events we find her in...
2019-06-09
0
564
二叉树遍历(前序、中序、后序) UVA 548 Tree
今天复习前面的内容的时候看到一道题UVA 548 Tree,说的是输入一个二叉树中序和后序的集合,沿着二叉树的一条边走,问叶子为多少的这条路最短。 看到这道题,中序?后序?什么玩意???不知道,百度!查了之后会了,就回来A了这题。 先给一个二叉树 二叉树前序遍历 前序遍...
2018-09-13
0
926
UVA - 1197 - The Suspects 并查集
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize...
2018-08-12
0
573
UVA 101 The Blocks Problem STL+模拟
题目:给你n个方块,有四种操作: 1.move a onto b,把a和b上面的方块都放回原来位置,然后把a放到b上面; 2.move a over b,把a上面的放回原处,然后把a放在b所在的方块堆的上面; 3.pile...
2018-07-23
0
517
UVA 10474 Where is the Marble?
Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would place the marbles ...
2018-07-23
0
466
UVa210 Concurrency Simulator (ACM/ICPC World Finals 1991) 双端队列
Programs executed concurrently on a uniprocessor system appear to be executed at the same time, but in reality the single CPU alternates between the p...
2018-06-10
0
636
UVa 12657 Boxes in a Line 双向链表
You have n boxes in a line on the table numbered 1...n from left to right. Your task is to simulate 4 kinds of commands: • 1 X Y : move box X to t...
2018-06-10
0
578
UVA 156 Ananagrams(map映射)
Most crossword puzzle fans are used to anagrams — groups of words with the same letters in different orders — for example OPTS, SPOT, STOP, PO...
2018-02-27
0
493
UVA - 11995 - I Can Guess the Data Structure! STL 模拟
There is a bag-like data structure, supporting two operations: 1 x Throw an element x into the bag. 2 Take out an element from the bag. Given a sequen...
2018-01-25
0
475
UVA - 10815 - Andy's First Dictionary STL
Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, n...
2018-01-23
0
503