摘要:
A children's board game consists of a square array of dots that contains lines connecting some of the pairs of adjacent dots. One part of the game req 阅读全文
摘要:
输入一个n行m列的数据库(1<=n<=10000,1<=m<=10),是否存在两个不同行r1,r2和两个不同列c1,c2,使得这两行和这两行相同(即(r1,c1)和(r2,c1)相同, (r1,c2)和(r2,c2)相同)。例如,对于如图所示的数据库,第2、3行和第2、3列满足要求 How to c 阅读全文
摘要:
Problem Description Xiangqi is one of the most popular two-player board games in China. The game represents a battle between two armies with the goal 阅读全文
摘要:
Description For an electronic mail application you are to describe the SMTP-based communication that takes place between pairs of MTAs. The sender's U 阅读全文
摘要:
题意:给出一张俯视图。给出N个建筑物的左下标,长度,宽度,高度。现在求,从南面看,能看到那些建筑? Sample Input Sample Output 离散化 基本思想就是在众多可能的情况中“只考虑我需要用的值”。 eg.1 给定平面上n个点的坐标,求能够覆盖所有这些点的最小矩形面积。这个问题难就 阅读全文
摘要:
A Typical Homework(a.k.a Shi Xiong Bang Bang Mang) Hi, I am an undergraduate student in institute of foreign languages. As you know, C programming is 阅读全文
摘要:
Data in spreadsheets are stored in cells, which are organized in rows (r) and columns (c). Some operations on spreadsheets can be applied to single ce 阅读全文
摘要:
浮点数在计算机里是分三部分表示的,最前面一位表示符号,后面一部分是尾数,最后一部分是阶码,就是一种二进制的科学记数法。 尾数是M阶码是E的话那么表示起来就是M × 2^E。尾数M的要求 1/2 ≤ M < 1,所以用二进制表示M的话就应该是0.1XX.... 用计算机表示的时候就把最前面的“0.1” 阅读全文
摘要:
我是来吐槽poj的!!! 第一次做poj,被题目中的输入输出格式打败了 ,醉了醉了 Description A research laboratory of a world-leading automobile company has received an order to create a sp 阅读全文
摘要:
输入整数a和b(0<=a<=3000,1<=b<=3000),输出a/b的循环小数表示以及循环节长度。 例如,a=5,b=43,小数表示为0.(116279069767441860465),循环字节长度为21 这个题,忘了怎样使a/b的结果保留多位小数!!! 具体方法为计算得出其多位小数(位数要足够 阅读全文