当前位置:首页
> Luz 第2728页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Number system conversion (2014 Fenghua junior high school group)
Input a hexadecimal positive integer s, convert s to octal number and output.###Input format:There is only one row and o…
PROGRAMMING:Right triangle (2014 Fenghua junior high school)
The lengths of the three sides of the triangle are all positive integers. Find the number s of right triangles whose sum…
PROGRAMMING:I won't ever tell you
When you do your homework, your neighbor asks, "how much is five times seven?" You should politely smile around and tell…
PROGRAMMING:Isosceles triangle (2) (*)
Please write a program to input the height of isosceles triangle and output the isosceles triangle composed of asterisk.…
PROGRAMMING:Change***
At present, the cashier has $$n $, with the face value of $$v_ 1, v_ 2, ..., v_ N $$. If the change amount is $$M $$, ho…
PROGRAMMING:Is It a Valid DFS Traversal Sequence
Given a directed graph and its DFS traversal sequences, you should judge if given sequences are valid.For example, with…
PROGRAMMING:Judging the validity of DFS sequence
Given a digraph, please judge whether the given depth first traversal sequence is legal.For example, for the following f…
PROGRAMMING:**On the flag of Poland
On the table there are $$n (1 / 10000) $$small flags, part white and part red (the Polish flag consists of white and red…
PROGRAMMING:seek π Approximate value of
Input precision e, using Gregory formula π The absolute value of the last term is less than E. It is required to define…
PROGRAMMING:Man wolf sheep vegetable crossing the river
A man should transport a wolf, a sheep and a basket of vegetables to the other side of the river. But his boat is too sm…