码迷,mamicode.com
首页 >  
搜索关键字:csu 1547 rectangle    ( 2022个结果
LeetCode: Maximal Rectangle
LeetCode: Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.地址:htt...
分类:其他好文   时间:2014-09-03 22:36:37    阅读次数:220
LeetCode: Largest Rectangle in Histogram
LeetCode: Largest Rectangle in HistogramGiven n non-negative integers representing the histogram's bar height where the width of each bar is 1, find t...
分类:其他好文   时间:2014-09-03 22:35:37    阅读次数:291
苹果开发API常用英语名词
苹果API常用英语名词0. indicating 决定1.in order to 以便2.rectangle bounds 矩形尺寸3.applied 应用4.entirety 全部5.technique 方法6.truncating 截短7.wrapping 换行8.string 字符串9.fam...
分类:移动开发   时间:2014-09-03 22:28:57    阅读次数:305
CSU OJ 三家人(湖南省第八届大学生计算机程序设计竞赛)
题目链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1111     这是道简单的数学题。 #include int main() { int t,z,d;; float x,y,k,s; scanf("%d",&t); int i; while (t--) { sc...
分类:其他好文   时间:2014-09-03 18:17:07    阅读次数:217
CSUOJ 机器人的指令 (湖南省第八届大学生计算机程序设计竞赛)
题目链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1112 简单的模拟题。 #include int main() { int as[100]; int t,n,m,i,x; char ch[20]; scanf("%d",&t); while(t--) { scanf...
分类:其他好文   时间:2014-09-03 18:16:47    阅读次数:160
CSU-1408: 种植树苗
Description 如下图所示,我们在门前一条笔直的道路上栽了N棵树苗。 但是,最近我们发现,如果两棵树苗的距离小于一个常数D,这两棵树苗的发育都会受到阻碍。因此我们决定移除一些树苗,从而使任意两棵树苗的距离都不小于D,并且我们希望留下的树苗越多越好。 Input 输入的第一行包含一个整数T (T > 0),表示一共有T组测试数据。 对于每组测试数...
分类:其他好文   时间:2014-09-03 18:16:37    阅读次数:314
CSU_1409: 集合的并
Description 给出两个由整数组成的集合A, B,计算A ∪ B中包含多少个整数。 Input 输入的第一行包含一个整数T (T > 0),表示一共有T组测试数据。 对于每组测试数据,第一行包含一个整数n (1 ≤ n ≤ 105)。第二行包含2n个整数a1, b1, a2, b2, ..., an, bn (0 < a1 ≤ ...
分类:其他好文   时间:2014-09-03 18:14:47    阅读次数:303
CSU_1410: 整数转换
Description 我们可以通过对一个整数A进行加1操作或者乘2操作使其转换为另一个整数B。 给出两个整数X, Y,计算至少需要多少步才能将X转换为Y。. Input 输入的第一行包含一个整数T (1 ≤ T ≤ 500),表示一共有T组测试数据。 每组测试数据占一行,包含两个整数X, Y (1 ≤ X ≤ Y ≤ 1018)。 Ou...
分类:其他好文   时间:2014-09-03 18:14:07    阅读次数:199
CSU-1401: 插入排序
Description 每次选择序列最左边的数,然后将其插入到序列中任意一个位置。求至少需要重复进行多少次上述操作,才可以将序列变为一个递增序列。 Input 输入的第一行包含一个整数T (T > 0),表示一共有T组测试数据. 对于每组测试数据,第一行包含一个整数n (1 ≤ n ≤ 105),表示这个序列中一共有n个整数。第二行包含n个各不相同的整数(这些整数...
分类:其他好文   时间:2014-09-03 16:51:38    阅读次数:355
CSU-1407: 最短距离
Description 两个点A, B均在做匀速直线运动。给出t = 0时刻A, B的坐标,以及A, B的速度,计算t ≥ 0时两个点的距离的最小值。 Input 输入的第一行包含一个整数T (1 ≤ T ≤ 200),表示一共有T组测试数据。 对于每组测试数据,第一行包含4个整数xA, yA, vAx, vAy (-103 ≤ xA, ...
分类:其他好文   时间:2014-09-03 16:50:06    阅读次数:230
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!