当前位置:首页
> Luz 第2899页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Please n!
This is a programming problem template. Please write the title description here. For example: this topic requires n!.###…
PROGRAMMING:The old tower of Hanoi
There are three pillars a, B and C, $$n $$disks with different diameters. These disks are placed on pillar a from bottom…
PROGRAMMING:Overload the greater than sign operator to compare the size of complex numbers
The function of the code is as follows:Input two complex numbers (variable name self generated), compare the size of the…
PROGRAMMING:Lists are combined into dictionaries
Combine two lists of the same length into a dictionary in order.###Input format:Enter two lists of the same length. The…
PROGRAMMING:Dictionary I / O
From the keyboard input a dictionary, the dictionary key and value after the output.###Input format:Enter a dictionary f…
PROGRAMMING:List subtraction
Enter two lists and delete some elements in list 2 in list 1.###Input format:Enter list 1 and list 2.###Output format:Ou…
PROGRAMMING:Finding the difference between the maximum and the minimum
Input 10 integers from the keyboard to find the difference between the maximum and minimum.###Input format:10 integers.#…
PROGRAMMING:Two towers of Hanoi
The double Hanoi Tower problem is a generalization of the Hanoi Tower problem: there are three columns a, B and C. There…
PROGRAMMING:Evaluation of piecewise function
Write a program to output the value of Y according to the value of x input from the keyboard. Both X and y are double pr…
PROGRAMMING:Output asterisk triangle
Enter an integer n from the keyboard, and then output an asterisk "*" composed of N lines of triangle.###Input format:Fo…