-
中国象棋源码
运用vc开发的界面象棋游戏,主要运用基本的vc 函数编写.可帮助vc朋友运用算法及函数调用,进一步理解vc的机理.(use vc development of the interface chess games, primarily using basic function vc prepared. Friends can help vc used algorithm and function call, vc further understand the mechanism.)
- 2005-05-24 14:11:28下载
- 积分:1
-
2048-master
说明: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam accumsan quam in pharetra facilisis. Nullam a lorem porta, cursus tellus ac, commodo ligula. Morbi eget nunc eu risus laoreet porta. Mauris nibh nulla, pulvinar vel neque ut, facilisis mattis orci. Cras in pulvinar enim, in sagittis lectus. Nunc rutrum odio ut tortor laoreet, at ullamcorper diam mollis. Nullam ut rutrum dui. Sed tortor eros, elementum at lectus a, feugiat dapibus orci. Vivamus at porta sem, non porta enim. Sed hendrerit volutpat dui, vel hendrerit nisi convallis nec. Cras vitae lobortis arcu. Mauris molestie risus a volutpat sollicitudin. Suspendisse quis fermentum felis.
- 2020-06-21 02:20:02下载
- 积分:1
-
六款小游戏代码
包括贪吃蛇,俄罗斯方块,扫雷,推箱子,连连看,拼图六款小游戏代码(Including the Snake, the Russian box, mine clearance, Sokoban, Lianliankan, six puzzle game code)
- 2020-06-26 03:00:02下载
- 积分:1
-
final
用TC写的撞球游戏,有保存功能,排行榜功能和单双人模式,dos下运行(TC wrote billiard games, save function, ranking function and single and double player mode, dos run)
- 2013-10-27 19:19:15下载
- 积分:1
-
Guessnumber
java 环境下的完成 玩家与系统间的猜数字小游戏 (java environment and systems to complete the player' s number guessing game)
- 2011-08-03 16:17:39下载
- 积分:1
-
SHUDU
求解数独游戏的一个非常好的源代码,很好很强大(a good source code for solving the game of sudoku)
- 2009-11-26 17:07:33下载
- 积分:1
-
TC-Game
TC编的小游戏,当年初学C时的满绩作品,不算很有意思(simple game built with TC)
- 2012-08-01 12:21:09下载
- 积分:1
-
battlecity
经典坦克大战源代码,battlecity (
Classic wars source code)
- 2020-07-01 11:40:01下载
- 积分:1
-
MemWord
Game Memories Words with dics
- 2010-08-13 03:22:43下载
- 积分:1
-
2
Background
Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e.,
Area(R1∩R2∩…∩Rn)
The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines.
For example, the intersection of 4 rectangles, R1, R2, R3, and R4, in the following figure is the shaded rectangle.
Input
The input contains (N + 1) lines. The first line specifies the number of rectangles N, where 1 < N < 1000. Since the sides of the rectangles are parallel to the x-axis and y-axis, each rectangle is bounded by the lines x = x1, x = x2, y = y1 and y = y2 and each subsequent line of the input file thus specifies one rectangle in the following format:
x1 x2 y1 y2
such that 0 <= x1 < x2 <= 10000 and 0 <= y1 < y2 <= 10000, and x1, x2, y1 and y2 are integers.
Output
The output file contains the area of the intersection of all the rectangles.
- 2013-11-15 02:58:38下载
- 积分:1