Asimple
Asimple
全部文章
分类
LeetCode(2)
未归档(188)
归档
标签
去牛客网
登录
/
注册
Asimple的博客
一个学渣的学习记录笔记
全部文章
(共9篇)
UVA - 11624 Fire!
Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. Help J...
BFS
UVA
2017-05-22
0
762
UVA 10129 Play on Words
Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no ot...
UVA
欧拉回路
并查集
2017-05-12
0
667
算法竞赛入门经典训练指南——UVA 11300 preading the Wealth
A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has ...
代数法
推导
UVA
2017-05-10
0
590
UVALive - 3971 Assemble
Recently your team noticed that the computer you use to practice for programming contests is notgood enough anymore. Therefore, you decide to buy a ne...
UVA
二分
2017-05-16
0
646
UVALive - 3635 Pie
My birthday is coming up and traditionally I’mserving pie. Not just one pie, no, I have a numberN of them, of various tastes and of various sizes. Fof...
UVA
二分
2017-05-16
0
508
UVA - 644 Immediate Decodability
An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assu...
字典树
UVA
2017-05-22
0
528
UVA - 748 Exponentiation
Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt...
UVA
大数
2017-05-24
0
720
How many zero's and how many digits ? UVA - 10061
Given a decimal integer number you will have to find out how many trailing zeros will be there in itsfactorial in a given number system and also you w...
数论
UVA
ACM
2017-08-21
0
751
Always an integer UVALive - 4119
题目很简单,就是求表达式(P/D)的结果是不是整数。其中P是一个整系数的多项式,D是一个正整数。 把1-k(最高次)+1都试一次就好了。结论可以总结归纳得到。(k取 0, 1, 2 .... 的情况推一次,可以推出结论)。 // Asimple #include <iostream&...
数论
UVA
ACM
2017-08-23
0
466