北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines are specified by the input. The sizes of the squares are also specified by the input, and the squares can shift vertically and horizontally. Now your job is to use the squares and the radial lines of the angle to enclose the maximum area, which excludes the area of the squares (see Figure 1). You should note that the edges of the squares must be parallel to the axes.
资源简介:北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines a...
上传时间: 2013-12-25
上传用户:ynzfm
资源简介:There is a shared object – int array[] between Write and Read. Write sets the array, Read gets the array and sorts ascending. Write a program to implement the write/read question by using synchronization mechanism and GUI.
上传时间: 2016-02-02
上传用户:playboys0
资源简介:this is a gcc file, you can download it and learn its usetility, for further detail please look at the source codes
上传时间: 2014-11-21
上传用户:ywqaxiwang
资源简介:Far Memory Support is only available in the PK51 package. If you have an CA51, DK51, or Evaluation Package the far memory support is not available and this example will not work.
上传时间: 2014-12-02
上传用户:大三三
资源简介:Distribution generator Here is a simple generator which can build some distributions with given properties. Distributions generator (compile with -lm) Typical use might be: ./distributions -u -m 1 -M 10 -n 100 -s 500 Generates a dist...
上传时间: 2014-01-27
上传用户:sammi
资源简介:北京大学ACM比赛题目 Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the input file and print a vertical histogram that shows how many times each letter (but...
上传时间: 2014-01-17
上传用户:410805624
资源简介:here is a small Delphi program called "FolderWatcher". It watches a folder (you can configure in the ini file) and tells you when a file in the folder has changed.
上传时间: 2013-12-24
上传用户:qunquan
资源简介:HERE IS A GOOD PSO TOOL BOX
上传时间: 2013-12-21
上传用户:hxy200501
资源简介:HERE IS A GOOD GP PROGRAMMING
上传时间: 2016-05-17
上传用户:qiaoyue
资源简介:HERE IS A GOOD PSO TOOL BOX
上传时间: 2016-05-17
上传用户:hustfanenze