登录
|
注册
公司
标签
文章
搜索
POJ
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
434
We are given a figure consisting of only horizontal and vertical line segments. Our goal is to count the number of all different rectangles formed by these segments. As an example, the number of rectangles in the Figures 1 and 2 are 5 and 0 respectively. There are many intersection points in the figure. An intersection point is a point shared by at least two segments. The input line segments are such that each intersection point comes from the intersection of exactly one horizontal segment ...
阅读题目
POJ
问答题
经典指数
0
0
433
The Flathead Testing Corporation (FTC) supplies various tests for Human Resources departments at many companies. One type of test they supply includes spatial concepts questions such as: When the following figure is folded back on the interior lines it forms a cube. Which of the following could be an image of one corner of the resulting cube? Unfortunately, FTC was recently embarrassed when one such question on a test had no solution among the choices and another (given in the exam ...
阅读题目
POJ
问答题
经典指数
0
0
432
ACM decided to run a big advertising campaign. Beside others, it will sponsor soccer tournaments by providing them with a system for computing and displaying game results. You are to write that system. 输入描述 The input contains description of several tournaments. Each tournament begins with a line containing single positive integer N: the number of participating teams, N ≤ 80. Then there are N lines, each containing a unique name of one team. The name is case-sensitive and may be compo ...
阅读题目
POJ
问答题
经典指数
0
0
424
Given a n × n matrix A and a positive integer k, find the sum S = A + A 2 + A 3 + … + Ak . 输入描述 The input contains exactly one test case. The first line of input contains three positive integers n (n ≤ 30), k (k ≤ 109) and m (m < 104). Then follow n lines each containing n nonnegative integers below 32,768, giving A’s elements in row-major order. 输出描述 Output the elements of S modulo m in the same way as A is given. 输入例子 2 2 4 0 1 1 1 输出例子 1 2 2 3 ...
阅读题目
POJ
问答题
经典指数
0
0
417
The village's carpentry is located by a hill side. The carpenter's two little boys play with a piece of wood which looks like a deformed wheel with two identical convex polygon-shaped faces. One boy sets the wooden wheel on a slope at the hill top and let it roll down. The other boy is to quickly place himself at where he guesses the rolling wood would stop. Your program is to help him make the right guess. More formally, we consider the wooden wheel as a simple convex polygon and we approxima ...
阅读题目
POJ
问答题
经典指数
0
0
410
The wide dissemination of calculators and computers is not without disadvantages. Teachers all over the world find out that even students in technical disciplines tend to have a surprising lack of calculating ability. Accustomed as they are to the use of calculators and computers, many of them are unable to make calculations like 7*8 mentally, or to factor 91 by heart. We all know, but who cares? Professor Bartjens cares. Professor Bartjens is a bit old-fashioned. He decided to give his studen ...
阅读题目
POJ
问答题
经典指数
1
0
390
给定两个整数M,N,生成一个M*N的矩阵,矩阵中元素取值为A至Z的26个字母中的一个,A在左上角,其余各数按顺时针方向旋转前进,依次递增放置,当超过26时又从A开始填充。例如,当M=5,N=8时,矩阵中的内容如下: A B C D E F G H V W X Y Z A B I U J K L M N C J T I H G F E D K S R Q P O N M L 输入描述 M为行数,N为列数,其中M,N都为大于0的整数。输出描述 分行输出相应的结果输入例子 4 9 输出例子 A B C D E F G H I V W X Y Z A B C J U J I H G F E D K T S R Q P O N M L ...
阅读题目
POJ
问答题
经典指数
<<
<
45
46
47
48
49
50
>
>>
497
题目数
1
贡献者
9
答案数
扫描后移动端查看
我也分享一个题目
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录