码迷,mamicode.com
首页 >  
搜索关键字:pascals triangle    ( 1342个结果
软件测试实验一
Lab 1 Junit and Eclemma 一. 实验要求: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides;
分类:其他好文   时间:2016-03-18 16:06:35    阅读次数:315
使用junit对java中三角形测试
Tasks: 关于三角形问题的代码的链接如下: https://github.com/Cartisia/triangle 部分如下: 1、安装并运用junit, hamcrest and eclemma. 1)分别下载junit-4.12、hamcrest-all-1.3的jar包,可以存放在mye
分类:编程语言   时间:2016-03-18 13:14:17    阅读次数:599
Sass mixin 使用css border属性画三角形
To be finished.   //triangle@mixin css-triangle ($direction: "down", $size: 20px, $color: #000, $fillColor:#fff) {    width: 0;     height: 0;    posi
分类:Web程序   时间:2016-03-14 16:31:57    阅读次数:519
Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to
分类:其他好文   时间:2016-03-14 12:13:00    阅读次数:134
C#解leetcode:119. Pascal's Triangle II
题目是: Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3,3,1]. Note:Could you optimize your algorithm
分类:Windows程序   时间:2016-03-13 19:34:13    阅读次数:225
用css3写出的倒三角形
<!DOCTYPE html><html><head><meta charset="gb2312" /><title>无标题文档</title><style>.triangle-left { width:0; height:0; border-right:20px solid yellow; bor
分类:Web程序   时间:2016-02-27 10:53:19    阅读次数:203
LeetCode Pascal's Triangle
要求得到一个n行的杨辉三角。...
分类:其他好文   时间:2016-02-26 10:31:13    阅读次数:130
2016/2/24 css画三角形 border的上右下左的调整 以及内区域的无限变小 背景透明
网页因为 CSS 而呈现千变万化的风格。这一看似简单的样式语言在使用中非常灵活,只要你发挥创意就能实现很多比人想象不到的效果。特别是随着 CSS3 的广泛使用,更多新奇的 CSS 作品涌现出来。今天给大家带来 CSS 三角形绘制方法代码如下: 1 #triangle-up { 2 width: 0;
分类:Web程序   时间:2016-02-25 00:24:10    阅读次数:186
第13周 【项目2-形状类族的中的纯虚函数】
问题描写叙述: 写一个程序。定义抽象基类Shape,由它派生出3个派生类,Circle(圆形)、Rectangle(矩形)、Triangle(三角形)。用例如以下的main()函数。求出定义的几个几何体的面积和。 int main() { Circle c1(12.6),c2(4.9);//建立Ci
分类:其他好文   时间:2016-02-22 10:25:15    阅读次数:198
CSS 三角形绘制方法
#triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red;} #trian
分类:Web程序   时间:2016-02-21 15:36:29    阅读次数:142
1342条   上一页 1 ... 63 64 65 66 67 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!